@@ -83,7 +83,6 @@ object WatchSourceTests extends WatchTests {
83
83
" Running qux foo contents initial-foo1 initial-foo2 Running qux bar contents initial-bar"
84
84
)
85
85
86
- Thread .sleep(1000 ) // Wait for the watching to begin
87
86
os.write.over(workspacePath / " foo1.txt" , " edited-foo1" )
88
87
awaitCompletionMarker(tester, " quxRan1" )
89
88
expectedErr.append(
@@ -93,8 +92,7 @@ object WatchSourceTests extends WatchTests {
93
92
expectedShows.append(
94
93
" Running qux foo contents edited-foo1 initial-foo2 Running qux bar contents initial-bar"
95
94
)
96
-
97
- Thread .sleep(1000 ) // Wait for the watching to begin
95
+
98
96
os.write.over(workspacePath / " foo2.txt" , " edited-foo2" )
99
97
awaitCompletionMarker(tester, " quxRan2" )
100
98
expectedErr.append(
@@ -105,7 +103,6 @@ object WatchSourceTests extends WatchTests {
105
103
" Running qux foo contents edited-foo1 edited-foo2 Running qux bar contents initial-bar"
106
104
)
107
105
108
- Thread .sleep(1000 ) // Wait for the watching to begin
109
106
os.write.over(workspacePath / " bar.txt" , " edited-bar" )
110
107
awaitCompletionMarker(tester, " quxRan3" )
111
108
expectedErr.append(
@@ -116,7 +113,6 @@ object WatchSourceTests extends WatchTests {
116
113
" Running qux foo contents edited-foo1 edited-foo2 Running qux bar contents edited-bar"
117
114
)
118
115
119
- Thread .sleep(1000 ) // Wait for the watching to begin
120
116
os.write.append(workspacePath / " build.mill" , " \n def unrelated = true" )
121
117
awaitCompletionMarker(tester, " initialized1" )
122
118
expectedOut.append(
@@ -128,7 +124,6 @@ object WatchSourceTests extends WatchTests {
128
124
)
129
125
130
126
if (show) expectedOut.append(" {}" )
131
- Thread .sleep(1000 ) // Wait for the watching to begin
132
127
os.write.over(workspacePath / " watchValue.txt" , " exit" )
133
128
awaitCompletionMarker(tester, " initialized2" )
134
129
expectedOut.append(" Setting up build.mill" )
0 commit comments