We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ec709 commit dc62276Copy full SHA for dc62276
test/test_worker_behavior.py
@@ -20,6 +20,16 @@ def test_worker_will_not_block_drop_database(autocommit_sess):
20
assert result is not None
21
assert result == 1
22
23
+ autocommit_sess.execute(text("create database foo;"))
24
+ autocommit_sess.execute(text("drop database foo with (force);"))
25
+
26
+ (result,) = autocommit_sess.execute(text("""
27
+ select 1
28
+ """)).fetchone()
29
30
+ assert result is not None
31
+ assert result == 1
32
33
34
def test_success_when_worker_is_up(sess):
35
"""net.check_worker_is_up should not return anything when the worker is running"""
0 commit comments