Skip to content

Commit 4d127c5

Browse files
committed
fix E2E test by setting scrape_interval to 10s and adding fqdn flag
Signed-off-by: SagiROosto <sagi.rosenthal@oosto.com>
1 parent f016639 commit 4d127c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
command: |
2424
cat \<< EOF > prometheus.yml
2525
global:
26-
scrape_interval: 1s
26+
scrape_interval: 10s
2727
scrape_configs:
2828
- job_name: pushprox
2929
proxy_url: http://127.0.0.1:8080

end-to-end-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ while ! curl -s -f -L http://localhost:8080/clients; do
2929
sleep 2
3030
done
3131

32-
./pushprox-client --log.level=debug --proxy-url=http://localhost:8080 &
32+
./pushprox-client --log.level=debug --proxy-url=http://localhost:8080 --fqdn $(hostname) &
3333
echo $! > "${tmpdir}/client.pid"
3434
while [ "$(curl -s -L 'http://localhost:8080/clients' | jq 'length')" != '1' ] ; do
3535
echo 'Waiting for client'

0 commit comments

Comments
 (0)