Skip to content

Commit

Permalink
Update pushgateway URL in test utils configuration
Browse files Browse the repository at this point in the history
This change sets the `pushgateway_url` to `None` in the test configuration. This will prevent attempts to push metrics to Pushgateway during test runs, ensuring tests do not interact with external services.
  • Loading branch information
sergeytimoshin committed Sep 16, 2024
1 parent ef4a002 commit c444125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forester/tests/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub fn forester_config() -> ForesterConfig {
indexer_url: Some("http://localhost:8784".to_string()),
prover_url: Some("http://localhost:3001".to_string()),
photon_api_key: None,
pushgateway_url: Some("http://localhost:9092/metrics/job/forester".to_string()),
pushgateway_url: None,
},
retry_config: Default::default(),
queue_config: Default::default(),
Expand Down

0 comments on commit c444125

Please sign in to comment.