aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Safran <107004254+larry-safran@users.noreply.github.com>2023-04-20 11:05:36 -0700
committerGitHub <noreply@github.com>2023-04-20 11:05:36 -0700
commit9204223c1624f1e4307af21bb06ee52546fa1929 (patch)
tree0d0717f4283e2f0ce963234426604d177298c70e
parent8aa25476e9fea3581abbf3d045e71d3b5a9d178f (diff)
downloadgrpc-grpc-java-9204223c1624f1e4307af21bb06ee52546fa1929.tar.gz
alts:Remove character dropped from error message (#10068)
The DECRYPTION_FAILURE_RE matcher had an exclamation point that was dropped from the related error message between Java 11 and 19. Fixes #10011
-rw-r--r--alts/src/test/java/io/grpc/alts/internal/TsiTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/alts/src/test/java/io/grpc/alts/internal/TsiTest.java b/alts/src/test/java/io/grpc/alts/internal/TsiTest.java
index f75fb7fce..0241182f2 100644
--- a/alts/src/test/java/io/grpc/alts/internal/TsiTest.java
+++ b/alts/src/test/java/io/grpc/alts/internal/TsiTest.java
@@ -36,7 +36,7 @@ import javax.crypto.AEADBadTagException;
/** Utility class that provides tests for implementations of {@link TsiHandshaker}. */
public final class TsiTest {
- private static final String DECRYPTION_FAILURE_RE = "Tag mismatch!|BAD_DECRYPT";
+ private static final String DECRYPTION_FAILURE_RE = "Tag mismatch|BAD_DECRYPT";
private TsiTest() {}