Skip to content

Commit

Permalink
try to fix metricbeat integ tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leehinman committed Dec 17, 2024
1 parent 5cc41c5 commit 365a051
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metricbeat/module/golang/_meta/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FROM docker.elastic.co/beats/metricbeat:6.5.4
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost:6060/debug/vars

EXPOSE 6060
CMD ["--httpprof", ":6060", "-e"]
CMD ["-httpprof", ":6060", "-e"]
2 changes: 1 addition & 1 deletion metricbeat/module/golang/test_golang.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_stats(self):
"period": "1s"
}])
proc = self.start_beat(
extra_args=["--httpprof", "localhost:6060"])
extra_args=["-httpprof", "localhost:6060"])

self.wait_until(lambda: self.output_lines() > 0)
proc.check_kill_and_wait()
Expand Down

0 comments on commit 365a051

Please sign in to comment.