test: add container support

This commit is contained in:
Erik Arvstedt 2020-09-27 12:43:28 +02:00
parent e99b7edb8e
commit fcc67da9f4
No known key found for this signature in database
GPG key ID: 33312B944DD97846
5 changed files with 129 additions and 1 deletions

View file

@ -115,6 +115,14 @@ let testEnv = rec {
};
};
# Container-specific features
containerFeatures = {
# Container has WAN access and bitcoind connects to external nodes
test.container.enableWAN = true;
# See ./lib/test-lib.nix for a description
test.container.exposeLocalhost = true;
};
adhoc = {
# <Add your config here>
# You can also set the env var `scenarioOverridesFile` (used below) to define custom scenarios.