diff options
Diffstat (limited to 'container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java')
-rw-r--r-- | container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java b/container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java index 764771bc285..e646e916521 100644 --- a/container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java +++ b/container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java @@ -2,7 +2,6 @@ package com.yahoo.container.core.config; import com.yahoo.container.di.Osgi.GenerationStatus; -import com.yahoo.jdisc.core.BsnVersion; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.osgi.framework.Bundle; @@ -36,7 +35,6 @@ public class ApplicationBundleLoaderTest { @Test void bundles_are_installed_and_started() { bundleLoader.useBundles(List.of(BUNDLE_1_REF)); - bundleLoader.completeGeneration(GenerationStatus.SUCCESS); assertEquals(1, osgi.getInstalledBundles().size()); // The bundle is installed and started @@ -50,16 +48,6 @@ public class ApplicationBundleLoaderTest { } @Test - void current_bundles_metadata_can_be_retrieved() { - bundleLoader.useBundles(List.of(BUNDLE_1_REF, BUNDLE_2_REF)); - bundleLoader.completeGeneration(GenerationStatus.SUCCESS); - - List<BsnVersion> activeBundles = bundleLoader.activeBundlesBsnVersion(); - assertEquals(new BsnVersion(BUNDLE_1), activeBundles.get(0)); - assertEquals(new BsnVersion(BUNDLE_2), activeBundles.get(1)); - } - - @Test void generation_must_be_marked_complete_before_using_new_bundles() { bundleLoader.useBundles(List.of(BUNDLE_1_REF)); assertThrows(IllegalStateException.class, |