diff --git a/flex/interactive/sdk/generate_sdk.sh b/flex/interactive/sdk/generate_sdk.sh index 4d529e0cef28..e38c33bc9920 100755 --- a/flex/interactive/sdk/generate_sdk.sh +++ b/flex/interactive/sdk/generate_sdk.sh @@ -30,7 +30,7 @@ DEVELOPER_NAME="GraphScope Team" LICENSE_NAME="Apache-2.0" LICENSE_URL="https://www.apache.org/licenses/LICENSE-2.0.html" LOG_LEVEL="error" - +export OPENAPI_GENERATOR_VERSION=7.2.0 #get current bash scrip's directory CUR_DIR=$(cd `dirname $0`; pwd) @@ -129,7 +129,6 @@ function install_generator() { curl https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/bin/utils/openapi-generator-cli.sh > ~/bin/openapitools/openapi-generator-cli chmod u+x ~/bin/openapitools/openapi-generator-cli export PATH=$PATH:~/bin/openapitools/ - export OPENAPI_GENERATOR_VERSION=7.2.0 fi # on ubuntu apt-get jq on mac brew install jq diff --git a/flex/interactive/sdk/python/gs_interactive/tests/conftest.py b/flex/interactive/sdk/python/gs_interactive/tests/conftest.py index d63048a0f4f3..94f0b34a25f2 100644 --- a/flex/interactive/sdk/python/gs_interactive/tests/conftest.py +++ b/flex/interactive/sdk/python/gs_interactive/tests/conftest.py @@ -477,5 +477,5 @@ def update_procedure(sess: Session, graph_id: str, proc_id: str, desc: str): def start_service_on_graph(interactive_session, graph_id: str): resp = interactive_session.start_service(StartServiceRequest(graph_id=graph_id)) assert resp.is_ok() - # wait one second to let compiler get the new graph - time.sleep(1) + # wait three second to let compiler get the new graph + time.sleep(3) diff --git a/flex/interactive/sdk/python/gs_interactive/tests/test_robustness.py b/flex/interactive/sdk/python/gs_interactive/tests/test_robustness.py index c2365e0c6f1a..a144a1e07948 100644 --- a/flex/interactive/sdk/python/gs_interactive/tests/test_robustness.py +++ b/flex/interactive/sdk/python/gs_interactive/tests/test_robustness.py @@ -290,6 +290,3 @@ def test_custom_pk_name( records = result.fetch(1) assert len(records) == 1 and records[0]["$f0"] == 2 start_service_on_graph(interactive_session, "1") - sleep( - 3 - ) # sleep for a while to make sure the compiler has updated to the new schema