Commit 62e97f0
committed
workspace: update transport-failure fake to the cursor RPC shape
The fetch watermark conversion to a rev/path cursor updated the
SyncRPC return shapes across the wire, but the transportFailingBackend
fake in the workspace tests kept returning the old scalar shape:
appliedPushRev on push and fetchChanges, and fetchRev on watermarks.
The driver now reads appliedPushCursor.rev and currentCursor off those
results, so both transport-failure invalidation tests threw a
TypeError reading rev off undefined.
Return the cursor shape the real server produces: appliedPushCursor
and currentCursor as rev/path pairs, and fetchCursor on watermarks.
The other fakes in the package already moved over; this one was
missed.1 parent 350d4d3 commit 62e97f0
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
| 783 | + | |
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
788 | | - | |
789 | | - | |
| 788 | + | |
| 789 | + | |
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
| |||
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
798 | | - | |
| 798 | + | |
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
| |||
0 commit comments