fix: updated e2e tests
@@ -8,7 +8,6 @@ package com.aws.greengrass.integrationtests.e2e.componentmanager;
import com.aws.greengrass.componentmanager.ComponentManager;
import com.aws.greengrass.componentmanager.DependencyResolver;
import com.aws.greengrass.componentmanager.models.ComponentIdentifier;
-import com.aws.greengrass.deployment.DeploymentDocumentDownloader;
import com.aws.greengrass.deployment.model.DeploymentDocument;
import com.aws.greengrass.deployment.model.DeploymentPackageConfiguration;
import com.aws.greengrass.deployment.model.FailureHandlingPolicy;
@@ -50,8 +49,6 @@ class ComponentManagerE2ETest extends BaseE2ETestCase {
private static Path componentStorePath;
private final String kernelIntegTestPkgName = getTestComponentNameInCloud("KernelIntegTest");
- private static DeploymentDocumentDownloader downloader;
-
protected ComponentManagerE2ETest() throws Exception {
super();
}
@@ -69,8 +66,6 @@ class ComponentManagerE2ETest extends BaseE2ETestCase {
componentManager = kernel.getContext().get(ComponentManager.class);
dependencyResolver = kernel.getContext().get(DependencyResolver.class);
componentStorePath = kernel.getNucleusPaths().componentStorePath();
-
- downloader = kernel.getContext().get(DeploymentDocumentDownloader.class);
}
@AfterEach
@@ -84,8 +79,6 @@ class ComponentManagerE2ETest extends BaseE2ETestCase {
void GIVEN_package_identifier_WHEN_resolve_dependencies_and_prepare_THEN_package_and_dependencies_downloaded_with_artifacts()
throws Exception {
- downloader.download("stub-deployment-id");
-
List<String> rootPackageList = new ArrayList<>();
rootPackageList.add(kernelIntegTestPkgName);
List<DeploymentPackageConfiguration> configList = new ArrayList<>();
