mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-23 02:47:57 +00:00
Modify test PVC to detect concurrent map write bug
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user