Skip to content

Commit

Permalink
[hotfix][pubsub] Use TestLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
rmetzger committed Jun 8, 2020
1 parent 3952bfa commit a08061b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,12 @@ under the License.
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-test-utils-junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<!-- ONLY run the tests when explicitly told to do so -->
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

package org.apache.flink.streaming.connectors.gcp.pubsub.emulator;

import org.apache.flink.util.TestLogger;

import com.google.api.gax.grpc.GrpcTransportChannel;
import com.google.api.gax.rpc.FixedTransportChannelProvider;
import com.google.api.gax.rpc.TransportChannelProvider;
Expand All @@ -36,7 +38,7 @@
/**
* The base class from which unit tests should inherit if they need to use the Google cloud emulators.
*/
public class GCloudUnitTestBase implements Serializable {
public class GCloudUnitTestBase extends TestLogger implements Serializable {
@BeforeClass
public static void launchGCloudEmulator() throws Exception {
// Separated out into separate class so the entire test class to be serializable
Expand Down

0 comments on commit a08061b

Please sign in to comment.