Skip to content

Commit

Permalink
Merge pull request #114634 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.2-114618

release-23.2: roachtest: disable assertions and metamorphic constants
  • Loading branch information
srosenberg authored Nov 17, 2023
2 parents f5b2a49 + b50e582 commit 71ec90b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/cmd/roachtest/test_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ func (t *testImpl) Cockroach() string {
return t.StandardCockroach()
}
t.randomCockroachOnce.Do(func() {
assertionsEnabledProbability := 0.5
//TODO(SR): assertions are temporarily disabled for _all_ tests except those using t.RuntimeAssertionsCockroach()
// directly, until after the stability period for 23.2. See https://github.com/cockroachdb/cockroach/issues/114615
assertionsEnabledProbability := 0.0
// If the user specified a custom seed to be used with runtime
// assertions, assume they want to run the test with assertions
// enabled, making it easier to reproduce issues.
Expand Down

0 comments on commit 71ec90b

Please sign in to comment.