|
71 | 71 | + "For now this test can only be exercised mannually.") |
72 | 72 | public class SpannerChangeStreamPlacementTableIT { |
73 | 73 |
|
74 | | - // TODO change to spanner prod host once ready. |
75 | | - private static final String host = "https://staging-wrenchworks.sandbox.googleapis.com"; |
76 | | - |
77 | | - @ClassRule |
78 | | - public static final IntegrationTestEnv ENV = |
79 | | - new IntegrationTestEnv( |
80 | | - /*isPostgres=*/ false, |
81 | | - /*isPlacementTableBasedChangeStream=*/ true, |
82 | | - /*host=*/ Optional.of(host)); |
| 74 | + @ClassRule public static final IntegrationTestEnv ENV = new IntegrationTestEnv(); |
83 | 75 |
|
84 | 76 | @Rule public final transient TestPipeline pipeline = TestPipeline.create(); |
85 | 77 |
|
@@ -149,8 +141,7 @@ public void testReadSpannerChangeStreamImpl(TestPipeline testPipeline, String ro |
149 | 141 | SpannerConfig.create() |
150 | 142 | .withProjectId(projectId) |
151 | 143 | .withInstanceId(instanceId) |
152 | | - .withDatabaseId(databaseId) |
153 | | - .withHost(StaticValueProvider.of(host)); |
| 144 | + .withDatabaseId(databaseId); |
154 | 145 | if (role != null) { |
155 | 146 | spannerConfig = spannerConfig.withDatabaseRole(StaticValueProvider.of(role)); |
156 | 147 | } |
@@ -210,8 +201,7 @@ public void testReadSpannerChangeStreamFilteredByTransactionTag() { |
210 | 201 | SpannerConfig.create() |
211 | 202 | .withProjectId(projectId) |
212 | 203 | .withInstanceId(instanceId) |
213 | | - .withDatabaseId(databaseId) |
214 | | - .withHost(StaticValueProvider.of(host)); |
| 204 | + .withDatabaseId(databaseId); |
215 | 205 |
|
216 | 206 | // Filter records to only those from transactions with tag "app=beam;action=update" |
217 | 207 | final PCollection<String> tokens = |
|
0 commit comments