@@ -15,8 +15,8 @@ func TestAccSumologicCSEOutlierRule_createAndUpdate(t *testing.T) {
1515 SkipCseTest (t )
1616
1717 var payload = CSEOutlierRule {
18- AggregationFunctions : []AggregationFunction {{Name : "total " , Function : "count" , Arguments : []string {"true" }}},
19- BaselineWindowSize : "86400000 " ,
18+ AggregationFunctions : []AggregationFunction {{Name : "current " , Function : "count" , Arguments : []string {"true" }}},
19+ BaselineWindowSize : "432000000 " ,
2020 DescriptionExpression : "OutlierRuleTerraformTest - {{ user_username }}" ,
2121 Enabled : true ,
2222 EntitySelectors : []EntitySelector {
@@ -29,7 +29,7 @@ func TestAccSumologicCSEOutlierRule_createAndUpdate(t *testing.T) {
2929 MatchExpression : `objectType="Network"` ,
3030 Name : "OutlierRuleTerraformTest" ,
3131 NameExpression : "OutlierRuleTerraformTest - {{ user_username }}" ,
32- RetentionWindowSize : "86400000 " ,
32+ RetentionWindowSize : "7776000000 " ,
3333 Severity : 1 ,
3434 SummaryExpression : "OutlierRuleTerraformTest - {{ user_username }}" ,
3535 Tags : []string {"OutlierRuleTerraformTest" },
@@ -173,7 +173,7 @@ func testCheckOutlierRuleValues(t *testing.T, expected *CSEOutlierRule, actual *
173173 assert .Equal (t , expected .Severity , actual .Severity )
174174 assert .Equal (t , expected .SummaryExpression , actual .SummaryExpression )
175175 assert .Equal (t , expected .Tags , actual .Tags )
176- assert .Equal (t , expected .WindowSize , actual .WindowSize )
176+ assert .Equal (t , expected .WindowSize , windowSizeField ( actual .WindowSizeName ) )
177177
178178 return nil
179179 }
0 commit comments