--- a/common/buildtest/masking.go +++ b/common/buildtest/masking.go @@ -55,7 +55,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")