Skip to content

Commit bfa20b7

Browse files
committed
Move xlang_jdbc to xlang direct.
1 parent b26ec72 commit bfa20b7

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run.",
33
"https://github.com/apache/beam/pull/32440": "test new datastream runner for batch"
4-
"modification": 9
4+
"modification": 8
55
}
66

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run",
3-
"modification": 4
3+
"modification": 5
44
}

.github/workflows/beam_PostCommit_Python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ jobs:
111111
commit: '${{ env.prsha || env.GITHUB_SHA }}'
112112
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
113113
files: '**/pytest*.xml'
114-
large_files: true
114+
large_files: true

sdks/python/apache_beam/io/external/xlang_jdbcio_it_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919

2020
import datetime
2121
import logging
22+
import os
2223
import time
2324
import typing
2425
import unittest
2526
from decimal import Decimal
2627

28+
import pytest
2729
from parameterized import parameterized
2830

2931
import apache_beam as beam
@@ -88,6 +90,11 @@
8890
coders.registry.register_coder(SimpleRow, coders.RowCoder)
8991

9092

93+
@pytest.mark.uses_gcp_java_expansion_service
94+
@unittest.skipUnless(
95+
os.environ.get('EXPANSION_JARS'),
96+
"EXPANSION_JARS environment var is not provided, "
97+
"indicating that jars have not been built")
9198
@unittest.skipIf(sqlalchemy is None, 'sql alchemy package is not installed.')
9299
@unittest.skipIf(
93100
PostgresContainer is None, 'testcontainers package is not installed')

sdks/python/test-suites/portable/common.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@ project.tasks.register("postCommitPy${pythonVersionSuffix}IT") {
385385
doLast {
386386
def tests = [
387387
"apache_beam/io/gcp/bigquery_read_it_test.py",
388-
"apache_beam/io/external/xlang_jdbcio_it_test.py",
389388
"apache_beam/io/external/xlang_kafkaio_it_test.py",
390389
"apache_beam/io/external/xlang_kinesisio_it_test.py",
391390
"apache_beam/io/external/xlang_debeziumio_it_test.py",

0 commit comments

Comments
 (0)