--- old/test/hotspot/jtreg/gc/shenandoah/TestAllocObjectArrays.java	2020-04-14 13:14:58.000000000 -0700
+++ new/test/hotspot/jtreg/gc/shenandoah/TestAllocObjectArrays.java	2020-04-14 13:14:58.000000000 -0700
@@ -25,7 +25,7 @@
 /*
  * @test TestAllocObjectArrays
  * @summary Acceptance tests: collector can withstand allocation
- * @key gc
+ * @key gc randomness
  * @requires vm.gc.Shenandoah & !vm.graal.enabled
  * @library /test/lib
  *
@@ -53,7 +53,7 @@
 /*
  * @test TestAllocObjectArrays
  * @summary Acceptance tests: collector can withstand allocation
- * @key gc
+ * @key gc randomness
  * @requires vm.gc.Shenandoah & !vm.graal.enabled
  * @library /test/lib
  *
@@ -107,7 +107,7 @@
 /*
  * @test TestAllocObjectArrays
  * @summary Acceptance tests: collector can withstand allocation
- * @key gc
+ * @key gc randomness
  * @requires vm.gc.Shenandoah & !vm.graal.enabled
  * @library /test/lib
  *