summaryrefslogtreecommitdiff
path: root/fastboot/tcp_test.cpp
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-02-10 11:55:06 -0800
committerAlex Deymo <deymo@google.com>2016-02-10 11:57:55 -0800
commitde4497ef3d06a8739671ef29012bab28ad2cd63f (patch)
tree62bfff59fc584cd198d93ab07617c213e095135b /fastboot/tcp_test.cpp
parentc7f43c6ae16a475627e6b3da44dde1cad17ab45a (diff)
Fix UploadService unittests.
The unittest was creating a brillo::Daemon in a smart pointer and then resetting it to a newly created different brillo::Daemon instance. This creates two brillo::Daemon instances for a short period of time, which both setup global context (the default message loop). This patch fixes this situation by deleting the service before creating a new one. Bug: 27121855 TEST=`/data/nativetest/metricsd_tests/metricsd_tests` on edison-eng Change-Id: I3b60cbfcdba77febbfa6104aa0ecad60a29afec5
Diffstat (limited to 'fastboot/tcp_test.cpp')
0 files changed, 0 insertions, 0 deletions