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

Commit1aa6a48

Browse files
committed
make sure watcher is synced
1 parent3cd9cc1 commit1aa6a48

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎agent/agentcontainers/api_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,9 @@ func TestAPI(t *testing.T) {
773773

774774
clk.Set(time.Now()).MustWait(ctx)
775775

776+
// Make sure the start loop has been called.
777+
watcher.waitNext(ctx)
778+
776779
// Simulate a file modification event to make the devcontainer dirty.
777780
watcher.sendEventWaitNextCalled(ctx, fsnotify.Event{
778781
Name:"/home/coder/project/.devcontainer/devcontainer.json",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp