Test fails intermittently: "LogHandler_Tests.it_should_set_organization_limits_when_enabled"
Package Edition of Nebula Logger
Unlocked Package
Package Version of Nebula Logger
4.15.4.2
New Bug Summary
Our nightly CI, which runs all tests periodically, started picking up intermittent test failures for LogHandler_Tests.it_should_set_organization_limits_when_enabled in the last couple of days, and we haven't been able to reproduce the test failures ourselves:
Error message: System.AssertException: Assertion Failed
Stack trace: External entry point Class.LogHandler_Tests.it_should_set_organization_limits_when_enabled: line 211, column 1
The assertion in question can be found here: https://github.com/jongpie/NebulaLogger/blob/ec2cfe88114ddbee34e73d7c3e7c39fe82a2675a/nebula-logger/core/tests/log-management/classes/LogHandler_Tests.cls#L209-L211
This test failed once in our fully-copy sandbox environment on Friday night, and then again in our production environment Sunday night. This morning, I ran the test a handful of times in both environments, but each time the test passed.