← Quiz: CI/CD for Testers: all 10 questions
Quiz: CI/CD for Testers · Question 10 of 10
A test calls a real third-party SMS service and sometimes fails when that service is slow. What is the usual fix?
A test calls a real third-party SMS service and sometimes fails when that service is slow. What is the usual fix?
- A.Add Thread.sleep(30000)
- B.Delete the test
- C.Stub the third-party service in this test and check the real integration separately
- D.Retry the whole pipeline until it passes
Answer & explanation
Correct answer: Stub the third-party service in this test and check the real integration separately
Tests should not depend on services you do not control.
Can you get the rest right without peeking?
Take the timed Quiz: CI/CD for Testers quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →