Skip to content

Commit bc29adb

Browse files
committed
added comments
1 parent d8c806e commit bc29adb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/testcoverage/badgestorer/github_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ func Test_Github(t *testing.T) {
5252
Owner: "vladopajic",
5353
Repository: "go-test-coverage",
5454
Branch: "badges-integration-test",
55-
FileName: "badge-" + randString() + ".svg",
55+
// random badge name must be used because two tests running from different platforms
56+
// in CI can cause race condition if badge has the same name
57+
FileName: "badge-" + randString() + ".svg",
5658
}
5759
s := NewGithub(cfg)
5860

0 commit comments

Comments
 (0)