mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Modify test PVC to detect concurrent map write bug
This commit is contained in:
parent
86a0b1c57a
commit
54714686bc
@ -2933,6 +2933,7 @@ func TestParallelScale(t *testing.T) {
|
||||
} {
|
||||
t.Run(tc.desc, func(t *testing.T) {
|
||||
set := burst(newStatefulSet(0))
|
||||
set.Spec.VolumeClaimTemplates[0].ObjectMeta.Labels = map[string]string{"test": "test"}
|
||||
parallelScale(t, set, tc.replicas, tc.desiredReplicas, assertBurstInvariants)
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user