Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing tests on browser #19

Open
TimoKramer opened this issue Nov 16, 2022 · 0 comments
Open

Failing tests on browser #19

TimoKramer opened this issue Nov 16, 2022 · 0 comments

Comments

@TimoKramer
Copy link
Member

Here it seems to fail: https://github.com/replikativ/superv.async/blob/main/test/superv/async_test.cljc#L332

timo@Zokolette> npx shadow-cljs compile ci                                                                                                                     ~/projects/superv.async
shadow-cljs - config: /home/timo/projects/superv.async/shadow-cljs.edn
shadow-cljs - connected to server
[:ci] Compiling ...
[:ci] Build completed. (81 files, 2 compiled, 0 warnings, 1.46s)

timo@Zokolette> CHROME_BIN=chromium npx karma start --single-run                                                                                               ~/projects/superv.async
16 11 2022 16:42:03.181:INFO [karma-server]: Karma v6.4.1 server started at http://localhost:9876/
16 11 2022 16:42:03.183:INFO [launcher]: Launching browsers ChromeHeadless with concurrency unlimited
16 11 2022 16:42:03.186:INFO [launcher]: Starting browser ChromeHeadless
16 11 2022 16:42:03.402:INFO [Chrome Headless 107.0.5304.110 (Linux x86_64)]: Connected on socket e8XHg9rq4JJ6-gPnAAAB with id 27733269
LOG: 'Testing superv.async-test'
LOG: ':debug {:further-retries 3, :event :retry, :error nil}'
LOG: ':debug {:further-retries 2, :event :retry, :error nil}'
LOG: ':debug {:further-retries 1, :event :retry, :error nil}'
LOG: ':error {:event :passing-error, :error #error {:message foo, :data {}}}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':debug {:further-retries 3, :event :retry, :error nil}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':debug {:further-retries 2, :event :retry, :error nil}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':debug {:further-retries 1, :event :retry, :error nil}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':error {:event :passing-error, :error #error {:message stale, :data {}}}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':debug {:further-retries 3, :event :retry, :error nil}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':debug {:further-retries 2, :event :retry, :error nil}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':debug {:further-retries 1, :event :retry, :error nil}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':error {:event :passing-error, :error #error {:message stale, :data {}}}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':debug {:further-retries 3, :event :retry, :error nil}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':debug {:further-retries 2, :event :retry, :error nil}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':debug {:further-retries 1, :event :retry, :error nil}'
LOG: ':info {:event :stale-error-in-supervisor, :error #error {:message stale, :data {}}}'
LOG: ':error {:event :passing-error, :error #error {:message stale, :data {}}}'
Chrome Headless 107.0.5304.110 (Linux x86_64) ERROR
  Uncaught #error {:message "stale", :data {}, :cause #error {:message "stale", :data {}}}
  at ci.js:58853:1

  Error: stale
      at new cljs$core$ExceptionInfo (ci.js:44420:10)
      at Function.cljs$core$IFn$_invoke$arity$3 (ci.js:44481:9)
      at Object.superv$async$throw_if_exception [as throw_if_exception] (ci.js:68287:25)
      at switch__85148__auto__ (ci.js:97188:32)
      at ci.js:97237:29
      at Function.superv$async_test$state_machine__85149__auto____1 [as cljs$core$IFn$_invoke$arity$1] (ci.js:97259:4)
      at Object.cljs$core$async$impl$ioc_helpers$run_state_machine [as run_state_machine] (ci.js:58845:67)
      at Object.cljs$core$async$impl$ioc_helpers$run_state_machine_wrapped [as run_state_machine_wrapped] (ci.js:58848:45)
      at ci.js:63163:41
      at ci.js:59496:98
Chrome Headless 107.0.5304.110 (Linux x86_64): Executed 18 of 20 ERROR (23.141 secs / 23.135 secs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant