logos-storage-nim/tests/testNatIntegration.nim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
481 B
Nim
Raw Normal View History

2026-06-12 19:27:16 +04:00
import std/os
2026-06-12 19:59:28 +04:00
import std/strutils
2026-06-12 19:27:16 +04:00
import ./imports
## Real-topology NAT scenarios (need podman + the storage-nat image).
2026-06-12 19:59:28 +04:00
## Limit which scenarios run with STORAGE_INTEGRATION_TEST_INCLUDES, listing test
## file paths, exactly as testIntegration does.
const includes = getEnv("STORAGE_INTEGRATION_TEST_INCLUDES")
2026-06-12 19:27:16 +04:00
2026-06-12 19:59:28 +04:00
when includes != "":
importAll(includes.split(","))
else:
importTests(currentSourcePath().parentDir() / "integration" / "nat", "")
2026-06-12 19:27:16 +04:00
{.warning[UnusedImport]: off.}