From 39c185f93677294747be6d88f78d60c0d6e0c356 Mon Sep 17 00:00:00 2001 From: Gio Gutierrez Date: Tue, 2 Apr 2024 15:49:09 -0500 Subject: [PATCH] feat: Wait for server to be ready --- e2e_test/udf/deno_udf.slt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/e2e_test/udf/deno_udf.slt b/e2e_test/udf/deno_udf.slt index dd4bb510bf98..4f077071db75 100644 --- a/e2e_test/udf/deno_udf.slt +++ b/e2e_test/udf/deno_udf.slt @@ -224,6 +224,9 @@ pip3 install -r e2e_test/udf/sse/requirements.txt system ok python3 e2e_test/udf/sse/sse.py & +# waits for the server to start +sleep 5s + statement ok CREATE FUNCTION call_sse() RETURNS TABLE ( data struct>) LANGUAGE javascript RUNTIME deno USING LINK 'fs://e2e_test/udf/sse/bundled.table.js' SYNC;