SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix: fixed flaky pipelineSearchSection test case (#5189)
SagarRajput-71f4a8b98340d
diff --git a/frontend/src/container/PipelinePage/tests/PipelinesSearchSection.test.tsx b/frontend/src/container/PipelinePage/tests/PipelinesSearchSection.test.tsxindex bfe69adcd1..2ef069a8f5 100644--- a/frontend/src/container/PipelinePage/tests/PipelinesSearchSection.test.tsx+++ b/frontend/src/container/PipelinePage/tests/PipelinesSearchSection.test.tsx@@ -42,9 +42,11 @@ describe('PipelinePage container test', () => {jest.advanceTimersByTime(299);expect(setPipelineValue).not.toHaveBeenCalled();- // Wait for the debounce delay to pass+ // Fast-forward time by 1ms to reach the debounce delay+ jest.advanceTimersByTime(1);++ // Wait for the debounce delay to pass and expect the callback to be calledawait waitFor(() => {- // Expect the callback to be called after debounce delayexpect(setPipelineValue).toHaveBeenCalledWith('sample_pipeline');});