Skip to content

Commit 1fcd466

Browse files
committed
Increase referee clearance timeout in test_referee.py
Sometimes 5s is not enough on hydra.
1 parent efe4581 commit 1fcd466

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/state.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ RefereeClearGrant(void)
15881588
if (popcount(mtm_state->current_gen_members) != 2 ||
15891589
MtmGetCurrentStatusInGen() != MTM_GEN_ONLINE)
15901590
{
1591-
mtm_log(MtmStateDebug, "not clearing referee flag as I am not online in full gen: current_gen_members=%s, StatusInGen=%s",
1591+
mtm_log(MtmStateDebug, "not clearing referee grant as I am not online in full gen: current_gen_members=%s, StatusInGen=%s",
15921592
maskToString(mtm_state->current_gen_members),
15931593
MtmStatusInGenMnem[MtmGetCurrentStatusInGen()]);
15941594
mtm_state->referee_grant_turn_in_pending = MtmInvalidGenNum;

tests/test_referee.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def test_consequent_shutdown(self):
366366
log.info('#### up up || up(2 -> 0)')
367367
log.info('########################')
368368
docker_api.containers.get('referee').start()
369-
time.sleep(5)
369+
time.sleep(10)
370370

371371
log.info('#### check that decision is cleaned')
372372
log.info('###################################')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy