Skip to content

Commit

Permalink
clean remaining commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
cristure committed Nov 4, 2024
1 parent 92e6386 commit e8c89e1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test-localnet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ jobs:
python3 -m multiversx_sdk_cli.cli localnet clean --configfile=./multiversx_sdk_cli/tests/testdata/localnet_with_resolution_remote.toml
python3 -m multiversx_sdk_cli.cli localnet config --configfile=./multiversx_sdk_cli/tests/testdata/localnet_with_resolution_remote.toml
nohup python3 -m multiversx_sdk_cli.cli localnet start --configfile=./multiversx_sdk_cli/tests/testdata/localnet_with_resolution_remote.toml > localnet.log 2>&1 & echo $! > localnet.pid
cd localnet
cd validator00
ls
pwd
sleep 120
- name: Test localnet dependent tests
Expand Down
29 changes: 0 additions & 29 deletions multiversx_sdk_cli/tests/test_cli_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,6 @@
bls_key = "e7beaa95b3877f47348df4dd1cb578a4f7cabf7a20bfeefe5cdd263878ff132b765e04fef6f40c93512b666c47ed7719b8902f6c922c04247989b7137e837cc81a62e54712471c97a2ddab75aa9c2f58f813ed4c0fa722bde0ab718bff382208"


# @pytest.fixture()
# def poll_endpoint():
# start_time = time.time() # Record the start time
# timeout = 600
# interval = 1
#
# while True:
# try:
# # Make the request to the endpoint
# response = requests.get(proxy_url, timeout=5) # Add request timeout to prevent blocking indefinitely
# if response.status_code == 200:
# # Break out of the loop if we get a successful response
# return response.json() # Return the response (or .text, .content based on your needs)
# else:
# print(f"Received non-200 status code: {response.status_code}")
#
# except requests.RequestException as e:
# # Handle network exceptions or timeouts
# print(f"Request failed: {e}")
#
# # Check if the timeout is reached
# if time.time() - start_time > timeout:
# print("Polling timed out")
# break
#
# # Wait for the specified interval before sending the next request
# time.sleep(interval)


@pytest.mark.require_localnet
def test_stake():
validators_json = testdata_path / "validators_ci.json"
Expand Down

0 comments on commit e8c89e1

Please sign in to comment.