[vm/gardening] Skip shared isolates test on reload bots.

The tests are spawning child processes, that can be slow on reload bots.

BUG=https://github.com/dart-lang/sdk/issues/56277
TEST=ci

Change-Id: I71ebbfd81c80937fce2dd49b18ebcb16d1cc5538
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/377080
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
diff --git a/runtime/tests/vm/dart/isolates/shared_primitives_test.dart b/runtime/tests/vm/dart/isolates/shared_primitives_test.dart
index 09cc000..ff6a555 100644
--- a/runtime/tests/vm/dart/isolates/shared_primitives_test.dart
+++ b/runtime/tests/vm/dart/isolates/shared_primitives_test.dart
@@ -75,6 +75,10 @@
       ]);
       if (Platform.version.contains('(main)') ||
           Platform.version.contains('(dev)')) {
+        if (result.exitCode != 0) {
+          print('stdout: ${result.stdout}');
+          print('stderr: ${result.stderr}');
+        }
         Expect.equals(0, result.exitCode);
       } else {
         Expect.notEquals(0, result.exitCode);
diff --git a/runtime/tests/vm/dart/isolates/shared_test.dart b/runtime/tests/vm/dart/isolates/shared_test.dart
index e182dc7..bedc4fb 100644
--- a/runtime/tests/vm/dart/isolates/shared_test.dart
+++ b/runtime/tests/vm/dart/isolates/shared_test.dart
@@ -69,6 +69,10 @@
       ]);
       if (Platform.version.contains('(main)') ||
           Platform.version.contains('(dev)')) {
+        if (result.exitCode != 0) {
+          print('stdout: ${result.stdout}');
+          print('stderr: ${result.stderr}');
+        }
         Expect.equals(0, result.exitCode);
       } else {
         Expect.notEquals(0, result.exitCode);
diff --git a/runtime/tests/vm/vm.status b/runtime/tests/vm/vm.status
index 1be9dfc..fa512db 100644
--- a/runtime/tests/vm/vm.status
+++ b/runtime/tests/vm/vm.status
@@ -358,6 +358,8 @@
 [ $hot_reload || $hot_reload_rollback ]
 dart/appjit*: SkipByDesign # Cannot reload with URI pointing to app snapshot.
 dart/disassemble_determinism_test: SkipSlow # Runs expensive fibonacci(32) computation in 2 subprocesses
+dart/isolates/shared_primitives_test: SkipSlow # The test spawns children processes, which is too slow on reload bots
+dart/isolates/shared_test: SkipSlow # The test spawns children processes, which is too slow on reload bots
 dart/issue_31959_31960_test: SkipSlow
 dart/minimal_kernel_test: SkipSlow # gen_kernel is too slow in hot reload testing mode
 dart/print_flow_graph_determinism_test: SkipSlow