Skip to content

Commit

Permalink
tune tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiee committed Feb 6, 2023
1 parent bd3068e commit 4276756
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,12 @@ def test_2_reconnect(self):
session.execute(
'CREATE SPACE IF NOT EXISTS test_session(vid_type=FIXED_STRING(8)); USE test_session;'
)
time.sleep(10)
time.sleep(2)
for i in range(0, 5):
if i == 3:
os.system('docker stop tests_graphd0_1')
os.system('docker stop tests_graphd1_1')
time.sleep(3)
# the session update later, the expect test
# resp = session.execute('SHOW TAGS')
time.sleep(4)
resp = session.execute('SHOW SESSIONS')
assert resp.is_succeeded(), resp.error_msg()
assert resp.space_name() == 'test_session'
Expand Down

0 comments on commit 4276756

Please sign in to comment.