diff --git a/tests/bugs/core_3557_test.py b/tests/bugs/core_3557_test.py index 6fe4df40..9b0c8fbe 100644 --- a/tests/bugs/core_3557_test.py +++ b/tests/bugs/core_3557_test.py @@ -12,17 +12,24 @@ FBTEST: bugs.core_3557 import pytest from firebird.qa import * -db = db_factory(from_backup='core3557.fbk') +db = db_factory() test_script = """ + create table test (id int primary key); + commit; + + -- RECONNECT IS MANDATORY HERE IN ORDER TO GET CRASH: + -- ################################################## + connect '$(DSN)' user 'SYSDBA' password 'masterkey'; + -- Confirmed for 2.5.0 only: server crashes on running the following EB. 26.02.2015 -- All subsequent releases should produce no stdout & stderr. set term ^; execute block as begin - execute statement 'drop table t'; + execute statement 'drop table test'; in autonomous transaction do - execute statement ('insert into t values (1)'); + execute statement ('insert into test values (1)'); end ^ """