cmd/testwrapper/flakytest: use t.Attr annotation on flaky tests

Updates #17460

Change-Id: I7381e9a6dd73514c73deb6b863749eef1a87efdc
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2025-10-06 08:05:35 -07:00
committed by Brad Fitzpatrick
parent 541a4ed5b4
commit 525f9921fe
2 changed files with 12 additions and 2 deletions

View File

@@ -14,7 +14,8 @@ func TestIssueFormat(t *testing.T) {
want bool
}{
{"https://github.com/tailscale/cOrp/issues/1234", true},
{"https://github.com/otherproject/corp/issues/1234", false},
{"https://github.com/otherproject/corp/issues/1234", true},
{"https://not.huyb/tailscale/corp/issues/1234", false},
{"https://github.com/tailscale/corp/issues/", false},
}
for _, testCase := range testCases {