Skip to content

Commit

Permalink
chore(web/test): disable BakePoller in V2BakeryControllerTest
Browse files Browse the repository at this point in the history
since it's not necessary for the test, and can run if the test takes a long time.  It attempts to connect to redis which fails, and the exceptions/log messages muddy the test results.
  • Loading branch information
dbyron-sf committed Dec 7, 2023
1 parent 526da75 commit 4dc4b12
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerHttpException;
import com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerServerException;
import com.netflix.spinnaker.rosco.Main;
import com.netflix.spinnaker.rosco.executor.BakePoller;
import com.netflix.spinnaker.rosco.manifests.helm.HelmBakeManifestRequest;
import com.netflix.spinnaker.rosco.services.ClouddriverService;
import java.nio.charset.StandardCharsets;
Expand All @@ -54,6 +55,8 @@ class V2BakeryControllerTest {

@Autowired private WebApplicationContext webApplicationContext;

@MockBean BakePoller bakePoller;

@MockBean ClouddriverService clouddriverService;

@Autowired ObjectMapper objectMapper;
Expand Down

0 comments on commit 4dc4b12

Please sign in to comment.