Skip to content

Commit 8d4e54b

Browse files
committed
Fix: verify we get a "pong" message from the webserver on startup.
1 parent ef13c53 commit 8d4e54b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/ide/vscode/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ async fn _prep_test(
202202
while now.elapsed().unwrap().as_millis() < 100 {
203203
if minreq::get(format!("http://127.0.0.1:{IP_PORT}/ping",))
204204
.send()
205-
.is_ok()
205+
.is_ok_and(|response| response.as_bytes() == b"pong")
206206
{
207207
break;
208208
}

0 commit comments

Comments
 (0)