From b295314bde164c399df1e49308c40e0f6ef8ec52 Mon Sep 17 00:00:00 2001 From: benbierens Date: Fri, 14 Jul 2023 10:45:26 +0200 Subject: [PATCH] fixes blockTTL envvar --- DistTestCore/Codex/CodexContainerRecipe.cs | 2 +- Tests/PeerDiscoveryTests/VariableImageTests.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DistTestCore/Codex/CodexContainerRecipe.cs b/DistTestCore/Codex/CodexContainerRecipe.cs index 0bbfc87..67e59ef 100644 --- a/DistTestCore/Codex/CodexContainerRecipe.cs +++ b/DistTestCore/Codex/CodexContainerRecipe.cs @@ -56,7 +56,7 @@ namespace DistTestCore.Codex } if (config.BlockTTL != null) { - AddEnvVar("BLOCK_TTL", config.BlockTTL.ToString()!); + AddEnvVar("CODEX_BLOCK_TTL", config.BlockTTL.ToString()!); } if (config.MetricsEnabled) { diff --git a/Tests/PeerDiscoveryTests/VariableImageTests.cs b/Tests/PeerDiscoveryTests/VariableImageTests.cs index 54af262..95a8dee 100644 --- a/Tests/PeerDiscoveryTests/VariableImageTests.cs +++ b/Tests/PeerDiscoveryTests/VariableImageTests.cs @@ -13,6 +13,7 @@ namespace Tests.PeerDiscoveryTests [TestCase("nim-codex:sha-3f2b417")] [TestCase("nim-codex:sha-00f6554")] [TestCase("nim-codex:sha-f053135")] + [TestCase("nim-codex:sha-711e5e0")] public void ThreeNodes(string dockerImage) { var img = "codexstorage/" + dockerImage;