Commit e84594a9 authored by Christopher Tate's avatar Christopher Tate
Browse files

Make the SettingsProvider CTS test less flaky

The Settings_SystemTest.testSystemSettings() method implicitly relies on
certain specific keys being undefined in the Settings.System namespace
in order to run correctly.  However, failures parway through testing
would poison the settings db and leave those keys defined, causing
subsequent tests to potentially fail spuriously unless the device had
been wiped before re-running the test.

This CL adds a step to the test wherein it establishes the necessary
clean state explicitly before attempting the test.

Bug 7164713

Change-Id: Iafe3df4dd3322d0686936cb2adb519b7660b40a5
parent c3b346f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment