Reinstate Tessera tests with a fixed version (#4303)

* Revert "ignore the tests that use tessera enclave via docker (#4297)"

This reverts commit 98e214cedc.

Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>

* lock version of tessera and make public

Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>

Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
This commit is contained in:
Sally MacFarlane
2022-08-24 08:13:47 +10:00
committed by GitHub
parent b3b8e0aaeb
commit 13b777f61a
19 changed files with 8 additions and 41 deletions

View File

@@ -49,7 +49,7 @@ public class TesseraTestHarness implements EnclaveTestHarness {
private URI q2TUri;
private URI thirdPartyUri;
private final String tesseraVersion = "latest";
public static final String TESSERA_VERSION = "22.1.5";
private final int thirdPartyPort = 9081;
private final int q2TPort = 9082;
@@ -264,7 +264,7 @@ public class TesseraTestHarness implements EnclaveTestHarness {
private GenericContainer buildTesseraContainer(final String configFilePath) {
final String containerConfigFilePath = "/tmp/config.json";
final String keyDir = enclaveConfiguration.getTempDir().toString();
return new GenericContainer<>("quorumengineering/tessera:" + tesseraVersion)
return new GenericContainer<>("quorumengineering/tessera:" + TESSERA_VERSION)
.withCopyFileToContainer(MountableFile.forHostPath(configFilePath), containerConfigFilePath)
.withFileSystemBind(keyDir, containerKeyDir)
.withCommand("--configfile " + containerConfigFilePath)