Skip to content

Commit

Permalink
[BugFix] set bdb timeout to 1 minutes for UT (StarRocks#8855)
Browse files Browse the repository at this point in the history
  • Loading branch information
padmejin authored and melt-code committed Jul 18, 2022
1 parent 0184558 commit 04f0701
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -41,6 +41,10 @@ public void setup() throws Exception {
// give master time to update membership
// otherwise may get error Conflicting node types: uses: SECONDARY Replica is configured as type: ELECTABLE
BDBEnvironment.SLEEP_INTERVAL_SEC = 1;
// set timeout to a really long time so that ut can pass even when IO load is very high
Config.bdbje_heartbeat_timeout_second = 60;
Config.bdbje_replica_ack_timeout_second = 60;
Config.bdbje_lock_timeout_second = 60;
}

@After
Expand Down

0 comments on commit 04f0701

Please sign in to comment.