diff --git a/vlib/v/tests/skip_unused/vweb_run_at.run.out b/vlib/v/tests/skip_unused/vweb_run_at.run.out index fe110d23148964..19f86f493ab110 100644 --- a/vlib/v/tests/skip_unused/vweb_run_at.run.out +++ b/vlib/v/tests/skip_unused/vweb_run_at.run.out @@ -1,3 +1 @@ -[Vweb] Running app on http://localhost:38090/ -[Vweb] We have 1 workers done diff --git a/vlib/v/tests/skip_unused/vweb_run_at.skip_unused.run.out b/vlib/v/tests/skip_unused/vweb_run_at.skip_unused.run.out index fe110d23148964..19f86f493ab110 100644 --- a/vlib/v/tests/skip_unused/vweb_run_at.skip_unused.run.out +++ b/vlib/v/tests/skip_unused/vweb_run_at.skip_unused.run.out @@ -1,3 +1 @@ -[Vweb] Running app on http://localhost:38090/ -[Vweb] We have 1 workers done diff --git a/vlib/v/tests/skip_unused/vweb_run_at.vv b/vlib/v/tests/skip_unused/vweb_run_at.vv index da2dd24122dc0f..679fc371d27001 100644 --- a/vlib/v/tests/skip_unused/vweb_run_at.vv +++ b/vlib/v/tests/skip_unused/vweb_run_at.vv @@ -11,8 +11,8 @@ fn main() { println('done') exit(0) }() + time.sleep(10 * time.second) vweb.run_at(&App{}, port: 38090, nr_workers: 1)! - // vweb.run(&App{}, 38091) } @['/'] diff --git a/vlib/v/tests/skip_unused/x_vweb_run_at.run.out b/vlib/v/tests/skip_unused/x_vweb_run_at.run.out index 1b38a268415a9a..19f86f493ab110 100644 --- a/vlib/v/tests/skip_unused/x_vweb_run_at.run.out +++ b/vlib/v/tests/skip_unused/x_vweb_run_at.run.out @@ -1,2 +1 @@ -[Vweb] Running app on http://localhost:38090/ done diff --git a/vlib/v/tests/skip_unused/x_vweb_run_at.skip_unused.run.out b/vlib/v/tests/skip_unused/x_vweb_run_at.skip_unused.run.out index 1b38a268415a9a..19f86f493ab110 100644 --- a/vlib/v/tests/skip_unused/x_vweb_run_at.skip_unused.run.out +++ b/vlib/v/tests/skip_unused/x_vweb_run_at.skip_unused.run.out @@ -1,2 +1 @@ -[Vweb] Running app on http://localhost:38090/ done diff --git a/vlib/v/tests/skip_unused/x_vweb_run_at.vv b/vlib/v/tests/skip_unused/x_vweb_run_at.vv index 8b6ec90510b143..8508a26d2e07f1 100644 --- a/vlib/v/tests/skip_unused/x_vweb_run_at.vv +++ b/vlib/v/tests/skip_unused/x_vweb_run_at.vv @@ -13,6 +13,7 @@ fn main() { println('done') exit(0) }() + time.sleep(10 * time.second) mut app := &App{} vweb.run_at[App, Context](mut app, port: 38090)! }