defaults the codex log topics to warn
This commit is contained in:
parent
d0cafb83a1
commit
8c82b4c527
|
@ -8,7 +8,7 @@ namespace CodexPlugin
|
||||||
public string? NameOverride { get; set; }
|
public string? NameOverride { get; set; }
|
||||||
public ILocation Location { get; set; } = KnownLocations.UnspecifiedLocation;
|
public ILocation Location { get; set; } = KnownLocations.UnspecifiedLocation;
|
||||||
public CodexLogLevel LogLevel { get; set; }
|
public CodexLogLevel LogLevel { get; set; }
|
||||||
public CodexLogCustomTopics? CustomTopics { get; set; }
|
public CodexLogCustomTopics? CustomTopics { get; set; } = new CodexLogCustomTopics(CodexLogLevel.Warn, CodexLogLevel.Warn);
|
||||||
public ByteSize? StorageQuota { get; set; }
|
public ByteSize? StorageQuota { get; set; }
|
||||||
public bool MetricsEnabled { get; set; }
|
public bool MetricsEnabled { get; set; }
|
||||||
public MarketplaceInitialConfig? MarketplaceConfig { get; set; }
|
public MarketplaceInitialConfig? MarketplaceConfig { get; set; }
|
||||||
|
|
|
@ -205,7 +205,7 @@ namespace CodexPlugin
|
||||||
|
|
||||||
if (DateTime.UtcNow - waitStart > timeout)
|
if (DateTime.UtcNow - waitStart > timeout)
|
||||||
{
|
{
|
||||||
FrameworkAssert.Fail($"Contract did not reach '{desiredState}' within timeout. {statusJson}");
|
FrameworkAssert.Fail($"Contract did not reach '{desiredState}' within {Time.FormatDuration(timeout)} timeout. {statusJson}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.Log($"Contract '{desiredState}'.");
|
log.Log($"Contract '{desiredState}'.");
|
||||||
|
|
Loading…
Reference in New Issue