Add mockserver to hosts file, use build profile again #247
System test report windows ❌
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.AuthLoginTest.xml
1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.AuthLoginTest | 1✅ | 3s |
✅ org.nzbhydra.AuthLoginTest
✅ shouldRequireLogin
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.BackupTest.xml
2 tests were completed in 98ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.BackupTest | 2✅ | 98ms |
✅ org.nzbhydra.BackupTest
✅ shouldBackupAndDownload
✅ shouldBackupAndShowInListAndBeDownloadable
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.DebugInfosTest.xml
3 tests were completed in 325ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.DebugInfosTest | 3✅ | 325ms |
✅ org.nzbhydra.DebugInfosTest
✅ shouldListAndDownloadLog
✅ shouldDownloadCurrentLog
✅ shouldDownloadDebugInfosAsBytes
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.DownloaderTest.xml
3 tests were completed in 942ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.DownloaderTest | 3✅ | 942ms |
✅ org.nzbhydra.DownloaderTest
✅ shouldAddNzb
✅ shouldCheckConnection
✅ shouldGetStatus
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.ExternalApiSearchingTest.xml
3 tests were completed in 537ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.ExternalApiSearchingTest | 3✅ | 537ms |
✅ org.nzbhydra.ExternalApiSearchingTest
✅ shouldComplainWithoutApiKey
✅ shouldSearch
✅ shouldDownloadNzb
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.ExternalToolsTest.xml
1 tests were completed in 0ms with 0 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.ExternalToolsTest | 1⚪ | 0ms |
✅ org.nzbhydra.ExternalToolsTest
⚪ org.nzbhydra.ExternalToolsTest
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.GenericStorageTest.xml
1 tests were completed in 14ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.GenericStorageTest | 1✅ | 14ms |
✅ org.nzbhydra.GenericStorageTest
✅ shouldPutAndGet
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.HistoryTest.xml
3 tests were completed in 634ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.HistoryTest | 3✅ | 634ms |
✅ org.nzbhydra.HistoryTest
✅ shouldShowDownloadHistory
✅ shouldShowSearchHistoryForSearching
✅ shouldShowSearchHistory
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.IndexerWebTest.xml
1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.IndexerWebTest | 1✅ | 4s |
✅ org.nzbhydra.IndexerWebTest
✅ shouldCheckCaps
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.MediaInfoTest.xml
2 tests were completed in 816ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.MediaInfoTest | 2✅ | 816ms |
✅ org.nzbhydra.MediaInfoTest
✅ shouldAutocompleteMovie
✅ shouldAutocompleteTV
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.NewsTest.xml
1 tests were completed in 18ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.NewsTest | 1✅ | 18ms |
✅ org.nzbhydra.NewsTest
✅ shouldLoadAllNews
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.NotificationsTest.xml
1 tests were completed in 49ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.NotificationsTest | 1✅ | 49ms |
✅ org.nzbhydra.NotificationsTest
✅ shouldTestNotificationAndStoreInHistory
❌ tests/system/target/surefire-reports/TEST-org.nzbhydra.NzbHandlingTest.xml
3 tests were completed in 394ms with 2 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.NzbHandlingTest | 2✅ | 1❌ | 394ms |
❌ org.nzbhydra.NzbHandlingTest
✅ shouldDownloadNzb
✅ shouldDownloadZipWithNzbs
❌ shouldSaveToBlackhole
java.lang.AssertionError:
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.StaticResourcesLoadableTest.xml
1 tests were completed in 313ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.StaticResourcesLoadableTest | 1✅ | 313ms |
✅ org.nzbhydra.StaticResourcesLoadableTest
✅ shouldLoadAllStaticResources
✅ tests/system/target/surefire-reports/TEST-org.nzbhydra.StatsTest.xml
1 tests were completed in 686ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.nzbhydra.StatsTest | 1✅ | 686ms |
✅ org.nzbhydra.StatsTest
✅ shouldLoadStats
Annotations
Check failure on line 81 in tests/system/src/test/java/org/nzbhydra/NzbHandlingTest.java
github-actions / System test report windows
org.nzbhydra.NzbHandlingTest ► shouldSaveToBlackhole
Failed test found in:
tests/system/target/surefire-reports/TEST-org.nzbhydra.NzbHandlingTest.xml
Error:
java.lang.AssertionError:
Raw output
java.lang.AssertionError:
Expecting actual not to be null
at org.nzbhydra.NzbHandlingTest.shouldSaveToBlackhole(NzbHandlingTest.java:81)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)