Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8523300 authored by vadimt's avatar vadimt
Browse files

Temporary workaround for long failure messages when running from AS

AS installs tests in such a way that they don't get necessary
permissions; the result is a long message starting with "Failed to get
system health diags" when a test fails.

While I'm looking for a good solution, removing this annoyance.

Change-Id: I9e439c3aefb9dd365c841c98d530b9346d7ccd10
parent 28a28762
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -151,8 +151,7 @@ public class TestHelpers {
                    ? "Current time: " + new Date(System.currentTimeMillis()) + "\n" + errors
                    : null;
        } catch (Exception e) {
            return "Failed to get system health diags, maybe build your test via .bp instead of "
                    + ".mk? " + android.util.Log.getStackTraceString(e);
            return null;
        }
    }
}