@@ -2275,13 +2275,15 @@ func logTestParameters(l *logger.Logger, params map[string]string) {
2275
2275
2276
2276
func getTestParameters (t * testImpl , c * clusterImpl , createOpts * vm.CreateOpts ) map [string ]string {
2277
2277
spec := t .spec
2278
+
2278
2279
clusterParams := map [string ]string {
2279
2280
"cloud" : roachtestflags .Cloud .String (),
2280
2281
"cpu" : fmt .Sprintf ("%d" , spec .Cluster .CPUs ),
2281
2282
"ssd" : fmt .Sprintf ("%d" , spec .Cluster .SSDs ),
2282
2283
"runtimeAssertionsBuild" : fmt .Sprintf ("%t" , roachtestutil .UsingRuntimeAssertions (t )),
2283
2284
"coverageBuild" : fmt .Sprintf ("%t" , t .goCoverEnabled ),
2284
2285
}
2286
+
2285
2287
// Emit CPU architecture only if it was specified; otherwise, it's captured below, assuming cluster was created.
2286
2288
if spec .Cluster .Arch != "" {
2287
2289
clusterParams ["arch" ] = string (spec .Cluster .Arch )
@@ -2300,6 +2302,13 @@ func getTestParameters(t *testImpl, c *clusterImpl, createOpts *vm.CreateOpts) m
2300
2302
// Hence, we only emit when arch was unspecified.
2301
2303
clusterParams ["arch" ] = string (c .arch )
2302
2304
}
2305
+
2306
+ c .destroyState .mu .Lock ()
2307
+ saved , savedMsg := c .destroyState .mu .saved , c .destroyState .mu .savedMsg
2308
+ c .destroyState .mu .Unlock ()
2309
+ if saved {
2310
+ clusterParams ["saved" ] = savedMsg
2311
+ }
2303
2312
}
2304
2313
2305
2314
extraParams := t .getExtraParams ()
0 commit comments