Bird
0
0

During a pipeline run, Service B's tests fail but the pipeline continues to deploy Service B. What is the likely misconfiguration?

medium📝 Analysis Q7 of 15
Microservices - CI/CD for Microservices
During a pipeline run, Service B's tests fail but the pipeline continues to deploy Service B. What is the likely misconfiguration?
APipeline is set to stop on any failure
BDeployment is configured to run only on successful tests
CTest stage is not set as a required gate before deployment
DService B's tests are skipped intentionally
Step-by-Step Solution
Solution:
  1. Step 1: Understand pipeline stages and gates

    Tests should block deployment if they fail to prevent faulty releases.
  2. Step 2: Identify misconfiguration

    If deployment runs despite test failures, tests are not configured as required gates.
  3. Final Answer:

    Test stage is not set as a required gate before deployment -> Option C
  4. Quick Check:

    Tests must gate deployment [OK]
Quick Trick: Set tests as required gates before deploy [OK]
Common Mistakes:
  • Assuming deployment always waits for tests
  • Confusing pipeline stop settings
  • Skipping tests without notice

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes