Skip to content

Commit

Permalink
Merge pull request #9 from dysnix/fix-pr-comments
Browse files Browse the repository at this point in the history
fix TestPredictKubeParseMetadata
  • Loading branch information
daniel-yavorovich authored Jan 25, 2022
2 parents ab64321 + d096db8 commit f75d259
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/scalers/predictkube_scaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,6 @@ var testPredictKubeMetadata = []predictKubeMetadataTestData{
map[string]string{"predictHorizon": "2h", "historyTimeWindow": "7d", "prometheusAddress": "", "queryStep": "2m", "threshold": "2000", "query": "up"},
map[string]string{"apiKey": testAPIKey}, true,
},
// missing metricName
{
map[string]string{"predictHorizon": "2h", "historyTimeWindow": "7d", "prometheusAddress": "http://localhost:9090", "queryStep": "2m", "threshold": "2000", "query": "up"},
map[string]string{"apiKey": testAPIKey}, true,
},
// malformed threshold
{
map[string]string{"predictHorizon": "2h", "historyTimeWindow": "7d", "prometheusAddress": "http://localhost:9090", "queryStep": "2m", "threshold": "one", "query": "up"},
Expand Down

0 comments on commit f75d259

Please sign in to comment.