ReactiveX/rxjs

Intermittent test case failure

Open

#6 630 ouverte le 5 oct. 2021

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)TypeScript (3 007 forks)batch import
help wanted

Métriques du dépôt

Stars
 (31 024 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur