From 2e95631b10e3996393be4f9542f02cfd59ca1cc1 Mon Sep 17 00:00:00 2001 From: Sergii Tkachenko Date: Wed, 16 Aug 2023 21:33:58 -0400 Subject: [PATCH] testing: Stabilize GrpcCleanupRule, GrpcServerRule (#10494) Closes #2488. --- testing/src/main/java/io/grpc/testing/GrpcCleanupRule.java | 2 -- testing/src/main/java/io/grpc/testing/GrpcServerRule.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/testing/src/main/java/io/grpc/testing/GrpcCleanupRule.java b/testing/src/main/java/io/grpc/testing/GrpcCleanupRule.java index f518dcb9e5..55188e5714 100644 --- a/testing/src/main/java/io/grpc/testing/GrpcCleanupRule.java +++ b/testing/src/main/java/io/grpc/testing/GrpcCleanupRule.java @@ -23,7 +23,6 @@ import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Stopwatch; import com.google.common.base.Ticker; import com.google.common.collect.Lists; -import io.grpc.ExperimentalApi; import io.grpc.ManagedChannel; import io.grpc.Server; import java.util.ArrayList; @@ -70,7 +69,6 @@ import org.junit.runners.model.Statement; * * @since 1.13.0 */ -@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2488") @NotThreadSafe public final class GrpcCleanupRule extends ExternalResource { diff --git a/testing/src/main/java/io/grpc/testing/GrpcServerRule.java b/testing/src/main/java/io/grpc/testing/GrpcServerRule.java index 71a4ab24c8..641c9927d9 100644 --- a/testing/src/main/java/io/grpc/testing/GrpcServerRule.java +++ b/testing/src/main/java/io/grpc/testing/GrpcServerRule.java @@ -19,7 +19,6 @@ package io.grpc.testing; import static com.google.common.base.Preconditions.checkState; import io.grpc.BindableService; -import io.grpc.ExperimentalApi; import io.grpc.ManagedChannel; import io.grpc.Server; import io.grpc.ServerServiceDefinition; @@ -48,7 +47,6 @@ import org.junit.rules.TestRule; *

An {@link AbstractStub} can be created against this service by using the * {@link ManagedChannel} provided by {@link GrpcServerRule#getChannel()}. */ -@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2488") public final class GrpcServerRule extends ExternalResource { private ManagedChannel channel;