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

Commitbad5194

Browse files
committed
fixup! address PR comments
1 parent206b8fb commitbad5194

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎coderd/workspaceapps_test.go‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,12 +262,12 @@ func TestWorkspaceApps(t *testing.T) {
262262
opts.AppHost=""
263263
}
264264

265-
statsFlushCh:=make(chanchan<-struct{})
266-
opts.StatsCollectorOptions.Flush=statsFlushCh
265+
flushStatsCollectorCh:=make(chanchan<-struct{},1)
266+
opts.StatsCollectorOptions.Flush=flushStatsCollectorCh
267267
flushStats:=func() {
268-
flushDone:=make(chanstruct{})
269-
statsFlushCh<-flushDone
270-
<-flushDone
268+
flushStatsCollectorDone:=make(chanstruct{},1)
269+
flushStatsCollectorCh<-flushStatsCollectorDone
270+
<-flushStatsCollectorDone
271271
}
272272
client:=coderdtest.New(t,&coderdtest.Options{
273273
DeploymentValues:deploymentValues,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp