Skip to content

Commit

Permalink
[oracle] Fix sysmetrics test for RDS (DBMON-4338) (#27891)
Browse files Browse the repository at this point in the history
  • Loading branch information
nenadnoveljic authored Jul 24, 2024
1 parent 69e93c5 commit f9d1312
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/collector/corechecks/oracle/sysmetrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ func TestSysmetrics(t *testing.T) {
n, err := c.sysMetrics()
assert.NoError(t, err, "failed to run sys metrics")
var expected int64
if c.connectedToPdb {
if c.hostingType == rds {
expected = 26
} else if c.connectedToPdb {
expected = 66
} else {
expected = 92
Expand Down

0 comments on commit f9d1312

Please sign in to comment.