@@ -1341,19 +1341,6 @@ func (btcc *BlipTesterCollectionClient) StartPushWithOpts(opts BlipTesterPushOpt
13411341 base .DebugfCtx (ctx , base .KeySGTest , "sent doc %s / %v" , change .docID , change .version )
13421342 // block until remote has actually processed the rev and sent a response
13431343 revResp := revRequest .Response ()
1344- /*<<<<<<< HEAD:rest/utilities_testing_blip_client.go
1345- if status := revResp.Properties[db.BlipErrorCode]; status != "" {
1346- if status == "409" {
1347- // conflict on write of rev - OK to ignore and let pull replication resolve
1348- btcc.TB().Logf("conflict on write of rev %s / %v", change.docID, change.version)
1349- } else {
1350- body, err := revResp.Body()
1351- require.NoError(btcc.TB(), err)
1352- require.FailNow(btcc.TB(), fmt.Sprintf("error response from rev: %s %s : %s", revResp.Properties["Error-Domain"], revResp.Properties["Error-Code"], body))
1353- }
1354- }
1355- =======
1356- */
13571344 require .NotContains (btcc .TB (), revResp .Properties , "Error-Domain" , "unexpected error response from rev %v: %s" , revResp )
13581345 base .DebugfCtx (ctx , base .KeySGTest , "peer acked rev %s / %v" , change .docID , change .version )
13591346 btcc .updateLastReplicatedVersion (change .docID , change .version )
@@ -1450,7 +1437,7 @@ func (btc *BlipTesterCollectionClient) StartPullSince(options BlipTesterPullOpti
14501437 errorDomain := subChangesResponse .Properties ["Error-Domain" ]
14511438 errorCode := subChangesResponse .Properties ["Error-Code" ]
14521439 if errorDomain != "" && errorCode != "" {
1453- require .FailNowf (btc .TB (), "error %s %s from subChanges with body: %s" , errorDomain , errorCode , string (rspBody ))
1440+ require .FailNow (btc .TB (), fmt . Sprintf ( "error %s %s from subChanges with body: %s" , errorDomain , errorCode , string (rspBody ) ))
14541441 }
14551442}
14561443
0 commit comments