--- 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")