Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/new-e2e/tests/windows/domain-test/domain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func (suite *testUpgradeSuite) TestGivenDomainUserCanUpgradeAgent() {
windowsAgent.WithInstallLogFile(filepath.Join(suite.SessionOutputDir(), "TC-UPG-DC-001_install_last_stable.log")))

suite.Require().NoError(err, "should succeed to install Agent on a Domain Controller with a valid domain account & password")
suite.Env().FakeIntake.Client().FlushServerAndResetAggregators() // flush to reset memory usage and avoid OOM
Comment thread
clarkb7 marked this conversation as resolved.
Outdated

tc := suite.NewTestClientForHost(suite.Env().RemoteHost)
platformCommon.CheckAgentBehaviour(suite.T(), tc)
Expand All @@ -135,6 +136,7 @@ func (suite *testUpgradeSuite) TestGivenDomainUserCanUpgradeAgent() {
windowsAgent.WithPackage(suite.AgentPackage),
windowsAgent.WithInstallLogFile(filepath.Join(suite.SessionOutputDir(), "TC-UPG-DC-001_upgrade.log")))
suite.Require().NoError(err, "should succeed to upgrade an Agent on a Domain Controller")
suite.Env().FakeIntake.Client().FlushServerAndResetAggregators() // flush to reset memory usage and avoid OOM

tc.CheckAgentVersion(suite.T(), suite.AgentPackage.AgentVersion())
platformCommon.CheckAgentBehaviour(suite.T(), tc)
Expand Down
Loading