logos-storage-nim/tests/testNatIntegration.nim
Arnaud a5d6569876
feat: nat traversal relay (#1417)
Signed-off-by: Arnaud <arno.deville@gmail.com>
Signed-off-by: Giuliano Mega <giuliano.mega@gmail.com>
Co-authored-by: Giuliano Mega <giuliano.mega@gmail.com>
2026-07-23 13:10:36 +00:00

16 lines
481 B
Nim

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