(_ testing.TB)
| 699 | } |
| 700 | |
| 701 | func RawDocWithInlineSyncData(_ testing.TB) string { |
| 702 | return ` |
| 703 | { |
| 704 | "_sync": { |
| 705 | "rev": "1-ca9ad22802b66f662ff171f226211d5c", |
| 706 | "sequence": 1, |
| 707 | "recent_sequences": [1], |
| 708 | "history": { |
| 709 | "revs": ["1-ca9ad22802b66f662ff171f226211d5c"], |
| 710 | "parents": [-1], |
| 711 | "channels": [null] |
| 712 | }, |
| 713 | "cas": "", |
| 714 | "time_saved": "2017-11-29T12:46:13.456631-08:00" |
| 715 | } |
| 716 | } |
| 717 | ` |
| 718 | } |
| 719 | |
| 720 | // DisableSequenceWaitOnDbStart disables the release sequence wait on db start. Appropriate for tests |
| 721 | // that make changes to database config after first startup, and don't assert/require on sequence correctness |
no outgoing calls