From 97484b1b89f5ee5fbdb43d044f04161a71b37e0f Mon Sep 17 00:00:00 2001 From: Jacob Affinito Date: Mon, 17 Jun 2024 10:09:19 -0700 Subject: [PATCH] chore: Add missing test cases for DisableFileSystemWatcher setting. (#2558) --- .../Core.UnitTest/Configuration/DefaultConfigurationTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Agent/UnitTests/Core.UnitTest/Configuration/DefaultConfigurationTests.cs b/tests/Agent/UnitTests/Core.UnitTest/Configuration/DefaultConfigurationTests.cs index f202358e8..3da196237 100644 --- a/tests/Agent/UnitTests/Core.UnitTest/Configuration/DefaultConfigurationTests.cs +++ b/tests/Agent/UnitTests/Core.UnitTest/Configuration/DefaultConfigurationTests.cs @@ -4039,6 +4039,8 @@ public void LoggingLevelValueIsCached() [TestCase(true, false, false, false, ExpectedResult = true)] [TestCase(true, false, false, true, ExpectedResult = true)] [TestCase(true, false, true, true, ExpectedResult = true)] + [TestCase(true, true, true, true, ExpectedResult = true)] + [TestCase(false, false, false, false, ExpectedResult = true)] public bool ValidateDisableFileSystemWatcher(bool localWatcherDisabled, bool? envWatcherDisabled, bool loggingEnabled, bool serverlessMode) { // Setup config values