Skip to content

Commit

Permalink
Merge #135314
Browse files Browse the repository at this point in the history
135314: roachtest: add wait for replication to obs tests r=dhartunian a=dhartunian

We had flakes recently that could be related to the original one that motivated the inclusion of this option.

Resolves: #134814
Part of: #134808

Release note: None

Co-authored-by: David Hartunian <[email protected]>
  • Loading branch information
craig[bot] and dhartunian committed Nov 15, 2024
2 parents 3ac6224 + 3671292 commit 9ecb09a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/tests/db_console.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func runDbConsoleCypressMixedVersions(ctx context.Context, t test.Test, c cluste
if c.IsLocal() {
t.Fatal("cannot be run in local mode")
}
mvt := mixedversion.NewTest(ctx, t, t.L(), c, c.CRDBNodes())
mvt := mixedversion.NewTest(ctx, t, t.L(), c, c.CRDBNodes(), mixedversion.EnableWaitForReplication)
cypressTest := newDbConsoleCypressTest(t, c, "cypress/e2e/health-check/*.ts", seedQueries)
init := func(ctx context.Context, l *logger.Logger, r *rand.Rand, h *mixedversion.Helper) error {
_, db := h.RandomDB(r)
Expand Down
1 change: 1 addition & 0 deletions pkg/cmd/roachtest/tests/mixed_version_sql_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func runSQLStatsMixedVersion(ctx context.Context, t test.Test, c cluster.Cluster
// the `workload fixtures import` command, which is only supported
// reliably multi-tenant mode starting from that version.
mixedversion.MinimumSupportedVersion("v23.2.0"),
mixedversion.EnableWaitForReplication,
)
flushInterval := 2 * time.Minute

Expand Down

0 comments on commit 9ecb09a

Please sign in to comment.