Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BugFix] set bdb timeout to 1 minutes for UT #8855

Merged
merged 1 commit into from Jul 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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