From b590e24de8d8ba3044c0d54c55e24f6a4a3ba60b Mon Sep 17 00:00:00 2001 From: benbierens Date: Thu, 1 Jun 2023 14:18:09 +0200 Subject: [PATCH] Debugging marketplace deploy in cluster --- DistTestCore/Marketplace/CodexContractsStarter.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/DistTestCore/Marketplace/CodexContractsStarter.cs b/DistTestCore/Marketplace/CodexContractsStarter.cs index 2571ef1..8bf1f66 100644 --- a/DistTestCore/Marketplace/CodexContractsStarter.cs +++ b/DistTestCore/Marketplace/CodexContractsStarter.cs @@ -14,7 +14,7 @@ namespace DistTestCore.Marketplace public MarketplaceInfo Start(GethBootstrapNodeInfo bootstrapNode) { - LogStart("Deploying Codex contracts..."); + LogStart("Deploying Codex Marketplace..."); var workflow = workflowCreator.CreateWorkflow(); var startupConfig = CreateStartupConfig(bootstrapNode.RunningContainers.Containers[0]); @@ -29,6 +29,7 @@ namespace DistTestCore.Marketplace workflow.DownloadContainerLog(container, logHandler); return logHandler.Found; }); + Log("Contracts deployed. Extracting addresses..."); var extractor = new ContainerInfoExtractor(lifecycle.Log, workflow, container); var marketplaceAddress = extractor.ExtractMarketplaceAddress(); @@ -37,14 +38,14 @@ namespace DistTestCore.Marketplace var interaction = bootstrapNode.StartInteraction(lifecycle); var tokenAddress = interaction.GetTokenAddress(marketplaceAddress); - LogEnd("Contracts deployed."); + LogEnd("Extract completed. Marketplace deployed."); return new MarketplaceInfo(marketplaceAddress, abi, tokenAddress); } private void WaitUntil(Func predicate) { - Time.WaitUntil(predicate, TimeSpan.FromMinutes(2), TimeSpan.FromSeconds(1)); + Time.WaitUntil(predicate, TimeSpan.FromMinutes(3), TimeSpan.FromSeconds(2)); } private StartupConfig CreateStartupConfig(RunningContainer bootstrapContainer)