aboutsummaryrefslogtreecommitdiff
path: root/devel/gitlab-runner/patches/010-test.patch
blob: 5bf5dfbe8b688724b56d924d2067059f55f2275c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/common/buildtest/masking.go
+++ b/common/buildtest/masking.go
@@ -45,7 +45,7 @@ func RunBuildWithMasking(t *testing.T, c
 
 	buf.Finish()
 
-	contents, err := buf.Bytes(0, math.MaxInt64)
+	contents, err := buf.Bytes(0, math.MaxInt32)
 	assert.NoError(t, err)
 
 	assert.NotContains(t, string(contents), "MASKED_KEY=MASKED_VALUE")