Disable 2042 and 2043 tests on RI. am: 60d965bbfe

Original change: https://android-review.googlesource.com/c/platform/art/+/2116861

Change-Id: I8b86655f0c5db85042937a6c9cc08126f4eb74c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/test/knownfailures.json b/test/knownfailures.json
index b057e69..f93eba5 100644
--- a/test/knownfailures.json
+++ b/test/knownfailures.json
@@ -1097,6 +1097,12 @@
         "description": ["Failing on RI. Needs further investigating. Some of these use smali."]
     },
     {
+        "tests": ["2042-reference-processing",
+                  "2043-reference-pauses"],
+        "variant": "jvm",
+        "description": ["Flakey behavior of RI."]
+    },
+    {
       "tests": [
                   "1974-resize-array",
                   "1975-hello-structural-transformation",