Skip to content

Commit

Permalink
Merge branch 'develop' into merge-develop
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Oct 17, 2024
2 parents 1869861 + 1216034 commit 83a004f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/schains/monitor/containers_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def test_monitor_schain_container_ec(
# To make sure container initializaed
time.sleep(2)

run_custom_schain_container(dutils, schain.name, entrypoint=['sh', 'exit', '1'])
# To make sure container initializaed
time.sleep(2)
with mock.patch('core.schains.monitor.containers.is_volume_exists', return_value=True):
schain_record.set_failed_rpc_count(100)
schain_record.set_restart_count(0)
Expand Down
2 changes: 1 addition & 1 deletion tests/schains/monitor/rpc_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import datetime
import json
import time
import json
from unittest import mock

import freezegun
Expand Down

0 comments on commit 83a004f

Please sign in to comment.