Skip to content

Commit

Permalink
roachtest: disable assertions and metamorphic constants
Browse files Browse the repository at this point in the history
Temporarily disable assertions and metamoprhic constants
until after the stability period; see the linked issue for
more context.

Epic: none
Informs: #114615

Release note: None
  • Loading branch information
srosenberg committed Nov 16, 2023
1 parent 0456c0d commit b50e582
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 b50e582

Please sign in to comment.