(startTs uint64)
| 32 | var ts uint64 |
| 33 | |
| 34 | func commitTs(startTs uint64) uint64 { |
| 35 | commit := timestamp() |
| 36 | od := &pb.OracleDelta{ |
| 37 | MaxAssigned: atomic.LoadUint64(&ts), |
| 38 | } |
| 39 | od.Txns = append(od.Txns, &pb.TxnStatus{StartTs: startTs, CommitTs: commit}) |
| 40 | posting.Oracle().ProcessDelta(od) |
| 41 | return commit |
| 42 | } |
| 43 | |
| 44 | func commitTransaction(t *testing.T, edge *pb.DirectedEdge, l *posting.List) { |
| 45 | startTs := timestamp() |
no test coverage detected