Skip to content

Commit

Permalink
Added DirtiesContext
Browse files Browse the repository at this point in the history
  • Loading branch information
corneil committed Aug 2, 2023
1 parent 5962232 commit f578f5d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.io.Resource;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.web.client.RestTemplate;

import static org.assertj.core.api.Assertions.assertThat;
Expand All @@ -77,6 +78,7 @@
}, properties = {
"maven.remoteRepositories.springRepo.url=https://repo.spring.io/snapshot"
})
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
public class LocalAppDeployerIntegrationTests extends AbstractAppDeployerIntegrationJUnit5Tests {

private static final String TESTAPP_DOCKER_IMAGE_NAME = "springcloud/spring-cloud-deployer-spi-test-app:latest";
Expand Down

0 comments on commit f578f5d

Please sign in to comment.