From daaf596640d020e32449cf345d1b2d58cdb26f63 Mon Sep 17 00:00:00 2001 From: harisang Date: Thu, 18 May 2023 12:39:25 +0300 Subject: [PATCH] hardcode staging quasimodo url --- .../quasimodo_ebbo_test/quasimodo_ebbo_test.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/monitoring_tests/quasimodo_ebbo_test/quasimodo_ebbo_test.py b/src/monitoring_tests/quasimodo_ebbo_test/quasimodo_ebbo_test.py index 57af7fa..9fd8cc9 100644 --- a/src/monitoring_tests/quasimodo_ebbo_test/quasimodo_ebbo_test.py +++ b/src/monitoring_tests/quasimodo_ebbo_test/quasimodo_ebbo_test.py @@ -36,10 +36,11 @@ def get_solver_response( break # convert back to JSON as post data bucket_response_json = json.dumps(solver_instance) - solver_url = ( - str(TemplateTest.QUASIMODO_SOLVER_URL) - + "/solve?time_limit=20&use_internal_buffers=false&objective=surplusfeescosts" - ) + solver_url = "http://testnets-quasimodo-solver-staging.services.svc.cluster.local:80/solve?time_limit=20&use_internal_buffers=false&objective=surplusfeescosts" + # solver_url = ( + # str(TemplateTest.QUASIMODO_SOLVER_URL) + # + "/solve?time_limit=20&use_internal_buffers=false&objective=surplusfeescosts" + # ) # make solution request to quasimodo solution = requests.post( solver_url, data=bucket_response_json, timeout=30