mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 20:47:59 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user