Skip to content

Commit

Permalink
run only new transaction tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antdanchenko committed Sep 25, 2024
1 parent 402040b commit 6d01cfe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions integration-tests/docker-compose.test.status-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ services:
"--password", "Strong12345",
"--dir", "/tmp/status-go-data", # Keep in sync with `config.json/DataDir` value. Later this arg will not be needed.
]
# ports:
# - 3333:3333
# - 8354:8354 # use for local debbuging only
ports:
- 3333:3333
- 8354:8354 # use for local debbuging only
healthcheck:
test: ["CMD-SHELL", "curl -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"net_version\",\"params\":[],\"id\":1}' -H 'Content-Type: application/json' http://0.0.0.0:3333 || exit 1"]
interval: 5s
Expand Down Expand Up @@ -59,8 +59,8 @@ services:
"--password", "Strong12345",
"--dir", "/tmp/status-go-data", # Keep in sync with `config.json/DataDir` value. Later this arg will not be needed.
]
# ports:
# - 3334:3333 # use for local debbuging only
ports:
- 3334:3333 # use for local debbuging only
healthcheck:
test: ["CMD-SHELL", "curl -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"net_version\",\"params\":[],\"id\":1}' -H 'Content-Type: application/json' http://0.0.0.0:3333 || exit 1"]
interval: 5s
Expand All @@ -86,7 +86,7 @@ services:
dockerfile: Dockerfile.tests-rpc
entrypoint: [
"pytest",
"-m", "wallet",
"-m", "transaction",
"--rpc_url=http://status-go:3333",
"--rpc_url_2=http://status-go-no-funds:3333",
"--junitxml=/tests-rpc/reports/report.xml",
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tests/test_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ def test_new_tx(self):
}
]

response = self.rpc_request(method, params, _id)
response = self.rpc_request(method, params)
self.verify_is_valid_json_rpc_response(response)
print(response.content)

0 comments on commit 6d01cfe

Please sign in to comment.