disable the watchdog

It's causing the tests to flake.
This commit is contained in:
Steven Allen 2021-01-21 16:19:11 -08:00
parent c27ec4ed22
commit d412ccdb3f

View File

@ -71,7 +71,7 @@ func MemoryConstraints() system.MemoryConstraints {
// MemoryWatchdog starts the memory watchdog, applying the computed resource
// constraints.
func MemoryWatchdog(lr repo.LockedRepo, lc fx.Lifecycle, constraints system.MemoryConstraints) {
if os.Getenv(EnvWatchdogDisabled) == "1" {
if true || os.Getenv(EnvWatchdogDisabled) == "1" {
log.Infof("memory watchdog is disabled via %s", EnvWatchdogDisabled)
return
}