Skip to content

Commit

Permalink
remove gauge initialization
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer committed Aug 19, 2023
1 parent 518da9b commit 1b6cd76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion shared/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@ export function generatePrefix(testCase) {

export function generateGauge(name){
var gauge = new Gauge(name);
gauge.add(0);
return gauge;
}
4 changes: 2 additions & 2 deletions tests/test-scaledobject.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ export function setup() {
);
}

export default function () {
GaugeKEDAInternalLatency.add(prometheus.getLag(workload.getNamespaceName()));
export default function () {
sleep(10);
GaugeKEDAInternalLatency.add(prometheus.getLag(workload.getNamespaceName()));
}

export function teardown() {
Expand Down

0 comments on commit 1b6cd76

Please sign in to comment.