component_UpdateFlash: raise failure.

BUG=chromium:779273
TEST=None.

Change-Id: I2d4f5a74eccd04bf550875a9cdff5be05a9fcca5
Reviewed-on: https://chromium-review.googlesource.com/763069
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
(cherry picked from commit bd37540d22ff39693a67f32a2e05c5134968764e)
Reviewed-on: https://chromium-review.googlesource.com/764730
(cherry picked from commit 349469e501bc3b3e19bcf329cb9f498d6bd2bd82)
Reviewed-on: https://chromium-review.googlesource.com/764731
diff --git a/server/site_tests/component_UpdateFlash/component_UpdateFlash.py b/server/site_tests/component_UpdateFlash/component_UpdateFlash.py
index 5f6e378..e53c266 100644
--- a/server/site_tests/component_UpdateFlash/component_UpdateFlash.py
+++ b/server/site_tests/component_UpdateFlash/component_UpdateFlash.py
@@ -58,7 +58,7 @@
             self.autotest_client.run_test('platform_CleanShutdown',
                                           check_client_result=True)
         except:
-            raise error.TestError('Failed: platform_CleanShutdown')
+            raise error.TestFail('Failed: platform_CleanShutdown')
 
     def _reboot(self):
         """Reboot the DUT."""