From 39f78393c88ab7a34af20c073e76d14ce3a9e5e1 Mon Sep 17 00:00:00 2001 From: Tiago Queiroz Date: Fri, 3 Nov 2023 16:03:28 +0100 Subject: [PATCH] Update endpoint package version on tests (#3668) Update the endpoint package version for integration tests, some tests were failing because the old version was not found. (cherry picked from commit ba4b78c0276c35cbb596321b294d3a8731227801) --- testing/integration/endpoint_security_test.go | 2 +- testing/integration/upgrade_fleet_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/integration/endpoint_security_test.go b/testing/integration/endpoint_security_test.go index f3943604c1d..c2ca1d5a058 100644 --- a/testing/integration/endpoint_security_test.go +++ b/testing/integration/endpoint_security_test.go @@ -36,7 +36,7 @@ import ( const ( // TODO: Setup a GitHub Action to update this for each release of https://github.com/elastic/endpoint-package - endpointPackageVersion = "8.9.0" + endpointPackageVersion = "8.11.0" endpointHealthPollingTimeout = 2 * time.Minute ) diff --git a/testing/integration/upgrade_fleet_test.go b/testing/integration/upgrade_fleet_test.go index 8ced575fc63..aca07472d58 100644 --- a/testing/integration/upgrade_fleet_test.go +++ b/testing/integration/upgrade_fleet_test.go @@ -142,7 +142,7 @@ func testUpgradeFleetManagedElasticAgent(ctx context.Context, t *testing.T, info // wait for the watcher to show up t.Logf("Waiting for upgrade watcher to start...") - err = upgradetest.WaitForWatcher(ctx, 2*time.Minute, 10*time.Second) + err = upgradetest.WaitForWatcher(ctx, 5*time.Minute, 10*time.Second) require.NoError(t, err) t.Logf("Upgrade watcher started")