Exit test early if setup fails (#4842)
Reduce what needs searched through for debugging by exiting early. --- #### Does this PR need a docs update or release note? - [ ] ✅ Yes, it's included - [ ] 🕐 Yes, but in a later PR - [x] ⛔ No #### Type of change - [ ] 🌻 Feature - [ ] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Supportability/Tests - [ ] 💻 CI/Deployment - [x] 🧹 Tech Debt/Cleanup #### Test Plan - [x] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
ddabfc3b3a
commit
3866ed2368
@ -1061,6 +1061,12 @@ func (suite *ExchangeRestoreNightlyIntgSuite) TestRestore_Run_exchangeWithAdvanc
|
|||||||
checkRestoreCounts(t, ctr1, 0, 0, countItemsInRestore)
|
checkRestoreCounts(t, ctr1, 0, 0, countItemsInRestore)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Exit the test if the baseline failed as it'll just cause more failures
|
||||||
|
// later.
|
||||||
|
if t.Failed() {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// skip restore
|
// skip restore
|
||||||
|
|
||||||
suite.Run("skip collisions", func() {
|
suite.Run("skip collisions", func() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user