mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
codex: fix CI failure on PR #24143
This commit is contained in:
@@ -21,6 +21,12 @@ use wiremock::matchers::path;
|
||||
|
||||
const SERVICE_VERSION: &str = "0.0.0-test";
|
||||
|
||||
#[cfg(any(target_os = "macos", windows))]
|
||||
pub(crate) const ANALYTICS_TEST_TIMEOUT: Duration = Duration::from_secs(25);
|
||||
|
||||
#[cfg(not(any(target_os = "macos", windows)))]
|
||||
pub(crate) const ANALYTICS_TEST_TIMEOUT: Duration = Duration::from_secs(10);
|
||||
|
||||
fn set_metrics_exporter(config: &mut codex_core::config::Config) {
|
||||
config.otel.metrics_exporter = OtelExporterKind::OtlpHttp {
|
||||
endpoint: "http://localhost:4318".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user