Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » current git fails to build with assertionin testWaitOnBackgroundThread
current git fails to build with assertionin testWaitOnBackgroundThread [message #1852840] Tue, 07 June 2022 11:40 Go to next message
Linuxhippy Mising name is currently offline Linuxhippy Mising nameFriend
Messages: 68
Registered: July 2009
Member
Hi,

I've just tried to compile the current git master (using maven 3.5.4) in order to work on a proof-of-concept implementation of the proposed option mentioned in https://github.com/eclipse-rap/org.eclipse.rap/issues/22

However, it fails with assertion errors in tests. Any idea what is going on here?

Thanks & best regards, Clemens

-------------------------------------------------------------------------------
Test set: org.eclipse.rap.rwt.internal.serverpush.ServerPushManager_Test
-------------------------------------------------------------------------------
Tests run: 35, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.992 s <<< FAILURE! - in org.eclipse.rap.rwt.internal.serverpush.ServerPushManager_Test
testWaitOnBackgroundThread(org.eclipse.rap.rwt.internal.serverpush.ServerPushManager_Test) Time elapsed: 0.298 s <<< FAILURE!
java.lang.AssertionError
at org.eclipse.rap.rwt.internal.serverpush.ServerPushManager_Test.testWaitOnBackgroundThread(ServerPushManager_Test.java:139)

-------------------------------------------------------------------------------
Test set: org.eclipse.rap.rwt.internal.resources.ClientResources_Test
-------------------------------------------------------------------------------
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.301 s <<< FAILURE! - in org.eclipse.rap.rwt.internal.resources.ClientResources_Test
testIncludesDebugSettings(org.eclipse.rap.rwt.internal.resources.ClientResources_Test) Time elapsed: 0.212 s <<< FAILURE!
java.lang.AssertionError
at org.eclipse.rap.rwt.internal.resources.ClientResources_Test.testIncludesDebugSettings(ClientResources_Test.java:84)


Re: current git fails to build with assertionin testWaitOnBackgroundThread [message #1852957 is a reply to message #1852840] Mon, 13 June 2022 08:10 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2382
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,

I have two comments here:
1. There are several tests that are "time limit" dependent. This is not a "real" failure, but the waiting time for a task to complete is not enough.
2. Some tests need "client.js" to be available (built). If you run the tests from the IDE and not by Tycho build, please make sure that you run the ClientBuilder first to create "client.js".

Best regards,
Ivan
Previous Topic:GitHub migration for source code and issue tracking
Next Topic:Deploy eclipse rap application
Goto Forum:
  


Current Time: Mon Oct 03 21:24:12 GMT 2022

Powered by FUDForum. Page generated in 0.02323 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top