- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestConcurrentMerge (2.47 sec)
-
pilot/pkg/model/push_context_test.go
} got = tt.left.Merge(tt.right) if !reflect.DeepEqual(&tt.merged, got) { t.Fatalf("expected %v, got %v", &tt.merged, got) } }) } } func TestConcurrentMerge(t *testing.T) { reqA := &PushRequest{Reason: make(ReasonStats)} reqB := &PushRequest{Reason: NewReasonStats(ServiceUpdate, ProxyUpdate)} for i := 0; i < 50; i++ { go func() { reqA.CopyMerge(reqB) }()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0)