[vm/io/ssl] Add OtherResources to the https_connection_closed_during_handshake_test so it works on precomp bots.

Fixes https://github.com/dart-lang/sdk/issues/45056

Change-Id: I4e373693aa483007abbf14df419b2a3edad76282
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/185901
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
diff --git a/tests/standalone/io/https_connection_closed_during_handshake_test.dart b/tests/standalone/io/https_connection_closed_during_handshake_test.dart
index ca22cb0..7918ee2 100644
--- a/tests/standalone/io/https_connection_closed_during_handshake_test.dart
+++ b/tests/standalone/io/https_connection_closed_during_handshake_test.dart
@@ -3,6 +3,8 @@
 // BSD-style license that can be found in the LICENSE file.
 
 // VMOptions=--long-ssl-cert-evaluation
+// OtherResources=localhost.key
+// OtherResources=localhost.crt
 
 // This test verifies that lost of connection during handshake doesn't cause
 // vm crashes.
diff --git a/tests/standalone_2/io/https_connection_closed_during_handshake_test.dart b/tests/standalone_2/io/https_connection_closed_during_handshake_test.dart
index 4ef2fef..789f529 100644
--- a/tests/standalone_2/io/https_connection_closed_during_handshake_test.dart
+++ b/tests/standalone_2/io/https_connection_closed_during_handshake_test.dart
@@ -3,6 +3,8 @@
 // BSD-style license that can be found in the LICENSE file.
 
 // VMOptions=--long-ssl-cert-evaluation
+// OtherResources=localhost.key
+// OtherResources=localhost.crt
 
 // This test verifies that lost of connection during handshake doesn't cause
 // vm crashes.