Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit542e632

Browse files
committed
Fix test race
1 parent22ff6c8 commit542e632

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎enterprise/coderd/oauth2_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,9 @@ func TestOAuth2ProviderTokenExchange(t *testing.T) {
690690
t.Parallel()
691691
ctx:=testutil.Context(t,testutil.WaitLong)
692692

693+
// Need a new error so tests are not sharing it.
694+
varerrerror
695+
693696
// Each test gets its own user, since we allow only one code per user and
694697
// app at a time and running tests in parallel could clobber each other.
695698
userClient,user:=coderdtest.CreateAnotherUser(t,ownerClient,owner.OrganizationID)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp