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

Feature/naming service tests #713

Merged
merged 7 commits into from
Jun 21, 2024

clean up integration test to improve readability

f0a349c
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Feature/naming service tests #713

clean up integration test to improve readability
f0a349c
Select commit
Loading
Failed to load commit list.
GitHub Actions / GTests succeeded Jun 21, 2024 in 0s

22 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
reports/nelns_do_allocate_port_test.xml 5✅ 0ms
reports/nelns_naming_service_it.xml 1✅ 1s
reports/nelns_naming_service_test.xml 4✅ 86ms
reports/nelns_service_instance_manager_test.xml 12✅ 173ms

✅ reports/nelns_do_allocate_port_test.xml

5 tests were completed in 0ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
doAllocatePortTest 5✅ 0ms

✅ doAllocatePortTest

✅ shouldStartAtMinBaseport
✅ shouldIncreasePorts
✅ shouldWrapArroundMaxBasePort
✅ shouldSkipPortsUsedByRegisteredServices
✅ shouldNotSkipPortIfNotUsedByRegisteredServices

✅ reports/nelns_naming_service_it.xml

1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CNamingServiceIT 1✅ 1s

✅ CNamingServiceIT

✅ shouldAnswerToRegistration

✅ reports/nelns_naming_service_test.xml

4 tests were completed in 86ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CNamingService 4✅ 86ms

✅ CNamingService

✅ shouldInstantiateSingleton
✅ shouldNotAllowMultipleSimultaneousInstances
✅ shouldCleanupSingleton
✅ shouldAllowNewInstanceAfterDestruction

✅ reports/nelns_service_instance_manager_test.xml

12 tests were completed in 173ms with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CServiceInstanceManager 12✅ 173ms

✅ CServiceInstanceManager

✅ getInstanceShouldAssertIfNotInitialized
✅ getInstanceShouldReturnSingleton
✅ DestructorShouldCleanupSingletonInstance
✅ displayInfoShouldBeEmptyIfNothingRegistered
✅ addUniqueServiceShouldAddShardUniqueService
✅ addUniqueServiceShouldAddMachineUniqueService
✅ queryStartServiceShouldGrantSingleService
✅ queryStartServiceShouldGrantSingleShardUnqiueService
✅ queryStartServiceShouldNotGrantAdditionalShardUnqiueService
✅ queryStartServiceShouldGrantAdditionalMachineUnqiueServiceOnDifferentMachine
✅ queryStartServiceShouldNotGrantAdditionalMachineUnqiueServiceOnSameMachine
✅ releaseServiceShouldRemoveOnlineSercie