Skip to content

Commit 0fff72d

Browse files
Giving more time for windows to boot and write feature tracking
1 parent 730e968 commit 0fff72d

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

integration_test/ops_agent_test/main_test.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -2225,7 +2225,7 @@ func TestWindowsEventLogV2(t *testing.T) {
22252225

22262226
// Have to wait for startup feature tracking metrics to be sent
22272227
// before we tear down the service.
2228-
time.Sleep(2 * time.Minute)
2228+
time.Sleep(4 * time.Minute)
22292229

22302230
// There is a limitation on custom event log sources that requires their associated
22312231
// log names to have a unique eight-character prefix, so unfortunately we can only test
@@ -2366,6 +2366,12 @@ func TestWindowsEventLogV2(t *testing.T) {
23662366
}
23672367

23682368
expectedFeatures := []*feature_tracking_metadata.FeatureTracking{
2369+
{
2370+
Module: "logging",
2371+
Feature: "service:pipelines",
2372+
Key: "default_pipeline_overridden",
2373+
Value: "false",
2374+
},
23692375
{
23702376
Module: "metrics",
23712377
Feature: "service:pipelines",
@@ -2438,12 +2444,6 @@ func TestWindowsEventLogV2(t *testing.T) {
24382444
Key: "[2].channels.__length",
24392445
Value: "2",
24402446
},
2441-
{
2442-
Module: "logging",
2443-
Feature: "service:pipelines",
2444-
Key: "default_pipeline_overridden",
2445-
Value: "false",
2446-
},
24472447
}
24482448

24492449
// Wait at least a minute since feature_tracking and enabled_receivers

integration_test/third_party_apps_test/applications/active_directory_ds/enable

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ metrics:
3434
"
3535

3636
if (Get-Service google-cloud-ops-agent* -ErrorAction SilentlyContinue) {
37-
(Get-Service google-cloud-ops-agent*).WaitForStatus('Running', '00:03:00')
37+
(Get-Service google-cloud-ops-agent*).WaitForStatus('Running', '00:05:00')
3838
}

integration_test/third_party_apps_test/applications/iis/enable

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ logging:
4040
"
4141

4242
if (Get-Service google-cloud-ops-agent* -ErrorAction SilentlyContinue) {
43-
(Get-Service google-cloud-ops-agent*).WaitForStatus('Running', '00:03:00')
43+
(Get-Service google-cloud-ops-agent*).WaitForStatus('Running', '00:05:00')
4444
}

integration_test/third_party_apps_test/applications/iisv1/enable

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ logging:
2828
"
2929

3030
if (Get-Service google-cloud-ops-agent* -ErrorAction SilentlyContinue) {
31-
(Get-Service google-cloud-ops-agent*).WaitForStatus('Running', '00:03:00')
31+
(Get-Service google-cloud-ops-agent*).WaitForStatus('Running', '00:05:00')
3232
}

integration_test/third_party_apps_test/applications/mssql/enable

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ metrics:
3131
"
3232

3333
if (Get-Service google-cloud-ops-agent* -ErrorAction SilentlyContinue) {
34-
(Get-Service google-cloud-ops-agent*).WaitForStatus('Running', '00:03:00')
34+
(Get-Service google-cloud-ops-agent*).WaitForStatus('Running', '00:05:00')
3535
}

integration_test/third_party_apps_test/applications/mssqlv1/enable

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ Add-Content 'C:\Program Files\Google\Cloud Operations\Ops Agent\config\config.ya
1818
"
1919

2020
if (Get-Service google-cloud-ops-agent* -ErrorAction SilentlyContinue) {
21-
(Get-Service google-cloud-ops-agent*).WaitForStatus('Running', '00:03:00')
21+
(Get-Service google-cloud-ops-agent*).WaitForStatus('Running', '00:05:00')
2222
}

0 commit comments

Comments
 (0)