ReactiveX/rxjs

Intermittent test case failure

Open

#6630 opened on Oct 5, 2021

View on GitHub
 (5 comments) (0 reactions) (0 assignees)TypeScript (31,024 stars) (3,007 forks)batch import
help wanted

Description

Bug Report

Current Behavior A clear and concise description of the behavior.

One of test is failing intermittently on CI like below:

1) Observable
       should handle sync errors within a test scheduler:
     AssertionError: 
Expected 
	{"frame":0,"notification":{"kind":"E","error":{"name":"RangeError","message":"Maximum call stack size exceeded"}}}
	
to deep equal 

      at TestScheduler.observableMatcher [as assertDeepEqual] (dist/spec/helpers/observableMatcher.js:42:14)
          -> /home/runner/work/rxjs/rxjs/spec/helpers/observableMatcher.ts:45:10
      at /home/runner/work/rxjs/rxjs/dist/src/internal/testing/TestScheduler.js:183:23
          -> /home/runner/work/rxjs/rxjs/src/internal/testing/TestScheduler.ts:216:14
      at Array.filter (<anonymous>)
      at TestScheduler.flush (dist/src/internal/testing/TestScheduler.js:181:43)

Expected behavior A clear and concise description of what you expected to happen (or code).

Reproduction

** Please provide repro code does not involves framework, or other setups to address this bug is specific to rxjs core **

var your => (code) => here;

Environment

  • Runtime: [e.g. Node v${x}, Chrome v${x}]
  • RxJS version:
  • (If bug is related) Loader, build configuration: [e.g webpack, angular-cli version, config]

Possible Solution

Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.

Contributor guide