diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index c4540b61..9c9f5214 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -133,7 +133,7 @@ jobs: strategy: fail-fast: false matrix: - test: ["cli", "cli_change_lb", "state", "multi_gateway", "server", "grpc", "omap_lock", "old_omap", "log_files", "nsid", "psk", "dhchap"] + test: ["cli", "cli_change_lb", "state", "multi_gateway", "server", "grpc", "omap_lock", "log_files", "nsid", "psk", "dhchap"] runs-on: ubuntu-latest env: HUGEPAGES: 512 # for multi gateway test, approx 256 per gateway instance diff --git a/tests/test_old_omap.py b/tests/test_old_omap.py deleted file mode 100644 index e55f7ac9..00000000 --- a/tests/test_old_omap.py +++ /dev/null @@ -1,17 +0,0 @@ -import pytest -from control.server import GatewayServer -import grpc -from control.proto import gateway_pb2_grpc as pb2_grpc - -def test_old_omap(caplog, config): - with GatewayServer(config) as gateway: - gateway.set_group_id(0) - gateway.serve() - gateway.gateway_rpc.gateway_state.omap._add_key("bdev_dummy", "dummy") - - caplog.clear() - with GatewayServer(config) as gateway: - with pytest.raises(Exception) as ex: - gateway.set_group_id(0) - gateway.serve() - assert f"Old OMAP file format, still contains bdevs, please remove file and try again" in str(ex.value)