Removes future-numbers.

This commit is contained in:
benbierens 2023-09-01 08:45:23 +02:00
parent cf9d2ffe19
commit a29d646027
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
2 changed files with 2 additions and 17 deletions

View File

@ -124,7 +124,7 @@ namespace ContinuousTests
{
ThrowFailTest();
}
OverviewLog(" > Test passed. " + FuturesInfo());
OverviewLog(" > Test passed.");
return;
}
}
@ -135,19 +135,10 @@ namespace ContinuousTests
var exs = UnpackExceptions(exceptions);
var exceptionsMessage = GetCombinedExceptionsMessage(exs);
Log(exceptionsMessage);
OverviewLog($" > Test failed {FuturesInfo()}: " + exceptionsMessage);
OverviewLog($" > Test failed: " + exceptionsMessage);
throw new Exception(exceptionsMessage);
}
private string FuturesInfo()
{
var containers = config.CodexDeployment.CodexContainers;
var nodes = codexNodeFactory.Create(config, containers, fixtureLog, handle.Test.TimeSet);
var f = nodes.Select(n => n.GetDebugFutures().ToString());
var msg = $"(Futures: [{string.Join(", ", f)}])";
return msg;
}
private void DownloadClusterLogs()
{
var k8sFactory = new K8sFactory();

View File

@ -47,12 +47,6 @@ namespace DistTestCore.Codex
return result;
}
public int GetDebugFutures()
{
// Some Codex images support debug/futures to count the number of open futures.
return 0; // Http().HttpGetJson<CodexDebugFutures>("debug/futures").futures;
}
public CodexDebugThresholdBreaches GetDebugThresholdBreaches()
{
return Http().HttpGetJson<CodexDebugThresholdBreaches>("debug/loop");