| 131 | } |
| 132 | |
| 133 | func (runner *SGRTestRunner) WaitForVersion(docID string, rt *RestTester, version DocVersion) { |
| 134 | if !slices.Contains(runner.SupportedSubprotocols, db.CBMobileReplicationV4.SubprotocolString()) { |
| 135 | // only assert on rev tree IDs when we're not replicating using v4 protocol |
| 136 | rt.WaitForVersionRevIDOnly(docID, version) |
| 137 | return |
| 138 | } |
| 139 | rt.WaitForVersion(docID, version) |
| 140 | } |
| 141 | |
| 142 | func (runner *SGRTestRunner) WaitForTombstone(docID string, rt *RestTester, version DocVersion) { |
| 143 | if !slices.Contains(runner.SupportedSubprotocols, db.CBMobileReplicationV4.SubprotocolString()) { |