Skip to content

Commit

Permalink
Decrease the heartbeat interval (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiee authored Dec 22, 2021
1 parent 876c2a6 commit f360743
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- --log_dir=/logs
- --v=0
- --minloglevel=0
- --heartbeat_interval_secs=2
- --heartbeat_interval_secs=1
# ssl
- --ca_path=${ca_path}
- --cert_path=${cert_path}
Expand Down Expand Up @@ -55,7 +55,7 @@ services:
- --log_dir=/logs
- --v=0
- --minloglevel=0
- --heartbeat_interval_secs=2
- --heartbeat_interval_secs=1
# ssl
- --ca_path=${ca_path}
- --cert_path=${cert_path}
Expand Down Expand Up @@ -96,7 +96,7 @@ services:
- --log_dir=/logs
- --v=0
- --minloglevel=0
- --heartbeat_interval_secs=2
- --heartbeat_interval_secs=1
# ssl
- --ca_path=${ca_path}
- --cert_path=${cert_path}
Expand Down Expand Up @@ -137,7 +137,7 @@ services:
- --log_dir=/logs
- --v=0
- --minloglevel=0
- --heartbeat_interval_secs=2
- --heartbeat_interval_secs=1
- --timezone_name=+08:00
# ssl
- --ca_path=${ca_path}
Expand Down Expand Up @@ -183,7 +183,7 @@ services:
- --log_dir=/logs
- --v=0
- --minloglevel=0
- --heartbeat_interval_secs=2
- --heartbeat_interval_secs=1
- --timezone_name=+08:00
# ssl
- --ca_path=${ca_path}
Expand Down Expand Up @@ -229,7 +229,7 @@ services:
- --log_dir=/logs
- --v=0
- --minloglevel=0
- --heartbeat_interval_secs=2
- --heartbeat_interval_secs=1
- --timezone_name=+08:00
# ssl
- --ca_path=${ca_path}
Expand Down Expand Up @@ -273,7 +273,7 @@ services:
- --log_dir=/logs
- --v=0
- --minloglevel=0
- --heartbeat_interval_secs=2
- --heartbeat_interval_secs=1
- --timezone_name=+08:00
# ssl
- --ca_path=${ca_path}
Expand Down Expand Up @@ -316,7 +316,7 @@ services:
- --log_dir=/logs
- --v=0
- --minloglevel=0
- --heartbeat_interval_secs=2
- --heartbeat_interval_secs=1
- --timezone_name=+08:00
# ssl
- --ca_path=${ca_path}
Expand Down Expand Up @@ -359,7 +359,7 @@ services:
- --log_dir=/logs
- --v=0
- --minloglevel=0
- --heartbeat_interval_secs=2
- --heartbeat_interval_secs=1
- --timezone_name=+08:00
# ssl
- --ca_path=${ca_path}
Expand Down
1 change: 1 addition & 0 deletions tests/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def test_2_reconnect(self):
session.execute(
'CREATE SPACE IF NOT EXISTS test_session(vid_type=FIXED_STRING(8)); USE test_session;'
)
time.sleep(3)
for i in range(0, 5):
if i == 3:
os.system('docker stop tests_graphd0_1')
Expand Down

0 comments on commit f360743

Please sign in to comment.