Commit 83135f46 authored by Victor Colombo's avatar Victor Colombo

Interpretation error

parent c2789884
...@@ -5,6 +5,6 @@ def wait(service_id, port_id): ...@@ -5,6 +5,6 @@ def wait(service_id, port_id):
method= "GET", method= "GET",
endpoint = "/eth/v1/node/health", endpoint = "/eth/v1/node/health",
content_type = "application/json", content_type = "application/json",
port_id = HTTP_PORT_ID port_id = port_id
) )
return wait(recipe, "code", "IN", [200, 206, 503]) return wait(recipe, "code", "IN", [200, 206, 503])
\ No newline at end of file
...@@ -112,7 +112,7 @@ def launch( ...@@ -112,7 +112,7 @@ def launch(
method= "GET", method= "GET",
endpoint = "/eth/v1/node/identity", endpoint = "/eth/v1/node/identity",
content_type = "application/json", content_type = "application/json",
port_id = HTTP_PORT_ID port_id = HTTP_PORT_ID,
extract = { extract = {
"enr": ".data.enr" "enr": ".data.enr"
} }
......
...@@ -136,7 +136,7 @@ def launch( ...@@ -136,7 +136,7 @@ def launch(
method= "GET", method= "GET",
endpoint = "/eth/v1/node/identity", endpoint = "/eth/v1/node/identity",
content_type = "application/json", content_type = "application/json",
port_id = HTTP_PORT_ID port_id = HTTP_PORT_ID,
extract = { extract = {
"enr": ".data.enr" "enr": ".data.enr"
} }
......
...@@ -99,12 +99,12 @@ def launch( ...@@ -99,12 +99,12 @@ def launch(
method= "GET", method= "GET",
endpoint = "/eth/v1/node/identity", endpoint = "/eth/v1/node/identity",
content_type = "application/json", content_type = "application/json",
port_id = BEACON_HTTP_PORT_ID, port_id = HTTP_PORT_ID,
extract = { extract = {
"enr": ".data.enr" "enr": ".data.enr"
} }
) )
node_enr = request(beacon_node_identity_recipe)["extract.enr"] node_enr = request(node_identity_recipe)["extract.enr"]
teku_metrics_port = teku_service.ports[METRICS_PORT_ID] teku_metrics_port = teku_service.ports[METRICS_PORT_ID]
......
...@@ -73,7 +73,7 @@ def launch( ...@@ -73,7 +73,7 @@ def launch(
"enode": ".result.enode", "enode": ".result.enode",
} }
) )
response = request(service_id = service_id, fact_name = ENR_FACT_NAME) response = request(result_recipe)
return el_client_context.new_el_client_context( return el_client_context.new_el_client_context(
"besu", "besu",
......
...@@ -85,7 +85,7 @@ def launch( ...@@ -85,7 +85,7 @@ def launch(
"enode": ".result.enode", "enode": ".result.enode",
} }
) )
response = request(service_id = service_id, fact_name = ENR_FACT_NAME) response = request(result_recipe)
return el_client_context.new_el_client_context( return el_client_context.new_el_client_context(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment