mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-08-11 08:33:10 +00:00
Fixes duration parsing issue
This commit is contained in:
parent
4aa7d93d6d
commit
a2894272f5
@ -10,7 +10,7 @@ namespace CodexPlugin
|
||||
public class ApiChecker
|
||||
{
|
||||
// <INSERT-OPENAPI-YAML-HASH>
|
||||
private const string OpenApiYamlHash = "2F-9D-82-3C-F0-2F-D3-C9-72-C3-F2-6E-BD-C3-63-F5-67-62-D1-03-B6-60-75-31-22-DF-3F-63-A2-8D-AA-4B";
|
||||
private const string OpenApiYamlHash = "FD-C8-0F-19-5E-14-09-C9-05-93-17-4A-97-50-1D-7E-37-50-B2-30-B2-E6-66-37-23-FA-35-F5-AB-A0-C6-BD";
|
||||
private const string OpenApiFilePath = "/codex/openapi.yaml";
|
||||
private const string DisableEnvironmentVariable = "CODEXPLUGIN_DISABLE_APICHECK";
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ namespace CodexPlugin
|
||||
public const string MetricsPortTag = "codex_metrics_port";
|
||||
public const string DiscoveryPortTag = "codex_discovery_port";
|
||||
|
||||
public const string ProfilerExecTimeThreshold = "0.2s";
|
||||
public const int ProfilerExecTimeThresholdMilliseconds = 200;
|
||||
|
||||
// Used by tests for time-constraint assertions.
|
||||
public static readonly TimeSpan MaxUploadTimePerMegabyte = TimeSpan.FromSeconds(2.0);
|
||||
@ -48,7 +48,7 @@ namespace CodexPlugin
|
||||
var discPort = CreateDiscoveryPort(config);
|
||||
AddEnvVar("CODEX_DISC_PORT", discPort);
|
||||
AddEnvVar("CODEX_LOG_LEVEL", config.LogLevelWithTopics());
|
||||
AddEnvVar("CODEX_EXEC_TIME_THRESHOLD", ProfilerExecTimeThreshold);
|
||||
AddEnvVar("CODEX_EXEC_TIME_THRESHOLD", ProfilerExecTimeThresholdMilliseconds.ToString());
|
||||
|
||||
if (config.PublicTestNet != null)
|
||||
{
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
public class CodexDockerImage
|
||||
{
|
||||
private const string DefaultDockerImage =
|
||||
"codexstorage/nim-codex:sha-49bb3d3-dist-tests";
|
||||
"codexstorage/nim-codex:sha-56e2d4a-dist-tests";
|
||||
|
||||
public static string Override { get; set; } = string.Empty;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user