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.

RegistrationTest failures

See original GitHub issue

About half of my integration test runs fail in RegistrationTest. The failures occur in various places, but always in either helper.assertClientRegisterered() or helper.assertClientNotRegisterered() lines. I have already tried bumping LIFETIME up to 10 as well as used LIFETIME instead of the hardcoded 1’s in helper.waitForRegistration(1), but the tests are still failing sometimes, although less often than before, so I suppose maybe it’s not just about the length of timeout but something else.

I have a gut feeling that most of the failures occur in RegistrationTest.register_observe_deregister_observe(RegistrationTest.java:231), but that’s not the only place.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sbernard31commented, Oct 3, 2017

If you faced this you can use one of this solution :

  1. generally just relaunch the tests is enough.
  2. you can skip the leshan-integration-tests module : mvn -pl '!leshan-integration-tests' clean install (works with maven 3.2.1 or later)
  3. even more radical skip all tests : mvn clean install -DskipTests
0reactions
sbernard31commented, Oct 10, 2018

I didn’t face this issue for a long time now, neither on jenkins nor on my machine, so I close it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failing the Architect Registration Exam
Maybe you gave yourself 5 weeks to study when you really needed 8. This is the #1 reason most people fail. Looking back,...
Read more >
What Happens if My Car Fails an Emissions Test? - Progressive
A failed emissions test usually means your car needs to be serviced or repaired before you can renew your registration and drive it...
Read more >
Simple register test fails - Stack Overflow
I am trying to manipulate an MCU register ADC_CON_REG . I want to set it's 1. bit to logical 1 and then immediately...
Read more >
Solving Common Registration Errors
You try to register for College Algebra MATH1111. You will receive this error message because your test scores are too low to take...
Read more >
15 Silly Mistakes ("Automatic Fails") That Prevent You From ...
15 Silly Mistakes (“Automatic Fails”) That Prevent You From Passing Your DMV Test Today · 1. Rolling Stops · 2. Improper Lane Changing...
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