question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CCDM: test SessionCloseLogoutIT fails in bootstrapping v15

See original GitHub issue

There is an exception when running the test in TC that does not happen in local.

Caused by: java.lang.AssertionError: Received error message in browser log console right after opening the page, message: [2020-02-14T18:53:31+0000] [SEVERE] http://172.16.1.163:8888/view/VAADIN/build/vaadin-4-2ecfa5ca1a31d0bd1c7b.cache.js 0:8701 "Push connection using long-polling failed!"

It might be due to the @Push annotation that is in multiple test views (as shown below) instead of in an AppShell class, but needs further investigation.

[main] ERROR com.vaadin.flow.server.startup.VaadinAppShellInitializer -

Found app shell configuration annotations in non `AppShellConfigurator` classes.
Please create a custom class implementing `AppShellConfigurator` and move the following annotations to it:
    - @Push from com.vaadin.flow.uitest.ui.PushSettingsView
    - @Push from com.vaadin.flow.uitest.ui.LongPollingPushView
    - @Push from com.vaadin.flow.uitest.ui.PushLongPollingUpdateDivView
    - @Push from com.vaadin.flow.uitest.ui.LongPollingMultipleThreadsView
    - @Push from com.vaadin.flow.uitest.ui.SessionCloseLogoutView
    - @Push from com.vaadin.flow.uitest.ui.routing.PushLayout
    - @Push from com.vaadin.flow.uitest.ui.TrackMessageSizeView
    - @Push from com.vaadin.flow.uitest.ui.PushWSUpdateDivView

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
denis-anisimovcommented, Mar 24, 2021

I’m going to enable the IT via workaround : ignore the error message in the console. The IT tests totally different thing. But this ticket:

  • has to be fixed
  • it should be done ASAP
  • can’t be closed because test doesn’t fail: as I said I will change the IT so it doesn’t fail but this ticket describes a bug which is unrelated to the SessionCloseLogoutIT
0reactions
ZheSun88commented, Oct 19, 2021

the issue is still going on and the related bug has been reported to atmosphere https://github.com/Atmosphere/atmosphere/issues/2444.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get Certified - Society for Clinical Data Management
We established the Certified Clinical Data Manager (CCDM® ) program to help clinical ... Through a rigorous eligibility assessment and examination process, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found