OSDN Git Service

Ignore an additional thread in test 911
authorAlex Light <allight@google.com>
Tue, 25 Apr 2017 21:23:04 +0000 (14:23 -0700)
committerAlex Light <allight@google.com>
Thu, 27 Apr 2017 18:30:19 +0000 (18:30 +0000)
This was causing failures in cts

Bug: 37579245
Test: ./test/testrunner/testrunner.py --host -j40
Test: cts-tradefed run cts-dev --module CtsJvmtiRunTest911HostTestCases
Change-Id: Iee5c1874de225b98016994e046378268fb68e2fb
(cherry picked from commit 3cf6a70e7e1a6a1436bd22a3d36123a799bb681a)
Merged-In: Iaeba26b9554dee5cba6ef04e91d4a2664c7e94d0

test/911-get-stack-trace/src/art/PrintThread.java

index f50a66b..fee5ba0 100644 (file)
@@ -41,7 +41,8 @@ public class PrintThread {
   // We have to ignore some threads when printing all stack traces. These are threads that may or
   // may not exist depending on the environment.
   public final static String IGNORE_THREAD_NAME_REGEX =
-      "Binder:|RenderThread|hwuiTask|Jit thread pool worker|Instr:|JDWP|Profile Saver|main";
+      "Binder:|RenderThread|hwuiTask|Jit thread pool worker|Instr:|JDWP|Profile Saver|main|" +
+      "queued-work-looper";
   public final static Matcher IGNORE_THREADS =
       Pattern.compile(IGNORE_THREAD_NAME_REGEX).matcher("");
 
@@ -88,4 +89,4 @@ public class PrintThread {
   }
 
   public static native String[][] getStackTrace(Thread thread, int start, int max);
-}
\ No newline at end of file
+}