MCPcopy
hub / github.com/kubernetes/kops / AssertComplete

Method AssertComplete

pkg/instancegroups/rollingupdate_test.go:1160–1164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1158}
1159
1160func (c *concurrentTest) AssertComplete() {
1161 c.mutex.Lock()
1162 defer c.mutex.Unlock()
1163 assert.Equal(c.t, 0, c.previousValidation, "last validation")
1164}
1165
1166func newConcurrentTest(t *testing.T, cloud *awsup.MockAWSCloud, numSurge int, allNeedUpdate bool) *concurrentTest {
1167 test := concurrentTest{

Calls 3

LockMethod · 0.65
UnlockMethod · 0.65
EqualMethod · 0.45

Tested by

no test coverage detected