Commit eb21c3e6 authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

op-e2e: Suffix Kurtosis enclaves with current time (#12473)

This prevents spurious failures when a test fails to properly clean up enclaves after shutdown.
parent cb2066b0
......@@ -17,7 +17,7 @@ func StartEnclave(t *testing.T, ctx context.Context, lgr log.Logger, pkg string,
kurtosisCtx, err := kurtosis_context.NewKurtosisContextFromLocalEngine()
require.NoError(t, err)
enclaveID := fmt.Sprintf("kurtosis-%s", t.Name())
enclaveID := fmt.Sprintf("kurtosis-%s-%d", t.Name(), time.Now().UnixNano())
enclaveCtx, err := kurtosisCtx.CreateEnclave(ctx, enclaveID)
require.NoError(t, err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment