Skip to content

Commit 9f437e8

Browse files
committed
ci: run graph test
1 parent 5e68e5d commit 9f437e8

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
matrix:
3535
# test: [scenarios_test.py, rpc_test.py, graph_test.py, ln_test.py, dag_connection_test.py, logging_test.py]
36-
test: [graph_test.py, rpc_test.py, scenarios_test.py]
36+
test: [graph_test.py, rpc_test.py, scenarios_test.py, graph_test.py]
3737
steps:
3838
- uses: actions/checkout@v4
3939
- uses: hynek/setup-cached-uv@v1

src/warnet/cli/k8s.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def apply_kubernetes_yaml(yaml_file: str):
9090

9191

9292
def delete_namespace(namespace: str):
93-
command = f"kubectl delete namespace {namespace}"
93+
command = f"kubectl delete namespace {namespace} --ignore-not-found"
9494
return stream_command(command)
9595

9696

test/logging_test.py

-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def __init__(self):
2121
self.connect_logging_logger = logging.getLogger("cnct_log")
2222

2323
def run_test(self):
24-
self.start_server()
2524
try:
2625
self.start_logging()
2726
self.setup_network()
@@ -53,9 +52,6 @@ def start_logging(self):
5352
self.connect_logging_thread.daemon = True
5453
self.connect_logging_thread.start()
5554

56-
self.log.info("Waiting for RPC")
57-
self.wait_for_rpc("scenarios_available")
58-
5955
def setup_network(self):
6056
self.log.info("Setting up network")
6157
self.log.info(self.warcli(f"network start {self.graph_file_path}"))

0 commit comments

Comments
 (0)