Merge pull request #123529 from thockin/go-workspaces

Go workspaces for k/k and k/staging/*
This commit is contained in:
Kubernetes Prow Robot
2024-03-01 08:43:03 -08:00
committed by GitHub
579 changed files with 21277 additions and 17228 deletions

View File

@@ -904,11 +904,11 @@ func TestGetIndexFailureCount(t *testing.T) {
wantResult: 2,
},
"valid maxint32 value": {
pod: buildPod().indexFailureCount(strconv.Itoa(math.MaxInt32)).Pod,
pod: buildPod().indexFailureCount(strconv.FormatInt(math.MaxInt32, 10)).Pod,
wantResult: math.MaxInt32,
},
"too large value": {
pod: buildPod().indexFailureCount(strconv.Itoa(math.MaxInt32 + 1)).Pod,
pod: buildPod().indexFailureCount(strconv.FormatInt(math.MaxInt32+1, 10)).Pod,
wantResult: 0,
},
"negative value": {