Skip to content

Commit d8530cb

Browse files
committed
roachtest: mark cluster as expected to die in validate_system_schema_after_version_upgrade
Before wiping the cluster, we need to indicate to the test that the cluster is going to go down. This is needed after eae1e78. Release note: None
1 parent 6ec98ab commit d8530cb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pkg/cmd/roachtest/tests/validate_system_schema_after_version_upgrade.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,13 @@ func validateSystemSchemaAfterUpgradeTest(
134134
mvt.Run()
135135

136136
// Start a cluster with the latest binary and get the system schema
137-
// from the cluster.
137+
// from the cluster. Mark all processes as expected to die before wiping.
138+
t.Monitor().ExpectProcessDead(c.All())
139+
// If we have a tenant, mark it as expected to die too.
140+
if tenantComparison != nil {
141+
t.Monitor().ExpectProcessDead(c.All(), option.VirtualClusterName(tenantComparison.name))
142+
}
143+
138144
c.Wipe(ctx, c.All())
139145
settings := install.MakeClusterSettings()
140146

0 commit comments

Comments
 (0)