[automerger skipped] adb: add test for flushing socket data after a write failure.
am: 1430d39be6  -s ours

Change-Id: I496900027bd34c11b80e50b57bae12765b3f2585