Skip to content

Commit

Permalink
[BEAM-7181][BEAM-7243] add streaming it tests python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Juta committed May 10, 2019
1 parent 6679b00 commit 9cb1c3c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
from __future__ import absolute_import

import logging
import os
import sys
import time
import unittest
import uuid
Expand Down Expand Up @@ -105,10 +103,6 @@ def _cleanup_pubsub(self):
test_utils.cleanup_subscriptions(self.sub_client, [self.input_sub])
test_utils.cleanup_topics(self.pub_client, [self.input_topic])

@unittest.skipIf(sys.version[0:3] == '3.6' and
os.environ.get('RUN_SKIPPED_PY3_TESTS') != '1',
'This test still needs to be fixed on Python 3.6 '
'TODO: BEAM-7182')
@attr('IT')
def test_game_stats_it(self):
state_verifier = PipelineStateMatcher(PipelineState.RUNNING)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
from __future__ import absolute_import

import logging
import os
import sys
import time
import unittest
import uuid
Expand Down Expand Up @@ -107,10 +105,6 @@ def _cleanup_pubsub(self):
test_utils.cleanup_subscriptions(self.sub_client, [self.input_sub])
test_utils.cleanup_topics(self.pub_client, [self.input_topic])

@unittest.skipIf(sys.version[0:3] == '3.6' and
os.environ.get('RUN_SKIPPED_PY3_TESTS') != '1',
'This test still needs to be fixed on Python 3.6 '
'TODO: BEAM-7182')
@attr('IT')
def test_leader_board_it(self):
state_verifier = PipelineStateMatcher(PipelineState.RUNNING)
Expand Down
6 changes: 0 additions & 6 deletions sdks/python/apache_beam/examples/wordcount_it_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
from __future__ import absolute_import

import logging
import os
import sys
import time
import unittest

Expand All @@ -48,10 +46,6 @@ class WordCountIT(unittest.TestCase):
def test_wordcount_it(self):
self._run_wordcount_it(wordcount.run)

@unittest.skipIf(sys.version[0:3] == '3.6' and
os.environ.get('RUN_SKIPPED_PY3_TESTS') != '1',
'This test still needs to be fixed on Python 3.6 '
'TODO: BEAM-7183')
@attr('IT', 'ValidatesContainer')
def test_wordcount_fnapi_it(self):
self._run_wordcount_it(wordcount.run, experiment='beam_fn_api')
Expand Down
10 changes: 0 additions & 10 deletions sdks/python/apache_beam/io/gcp/pubsub_integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
from __future__ import absolute_import

import logging
import os
import sys
import unittest
import uuid

Expand Down Expand Up @@ -172,18 +170,10 @@ def _test_streaming(self, with_attributes):
id_label=self.ID_LABEL,
timestamp_attribute=self.TIMESTAMP_ATTRIBUTE)

@unittest.skipIf(sys.version[0:3] == '3.6' and
os.environ.get('RUN_SKIPPED_PY3_TESTS') != '1',
'This test still needs to be fixed on Python 3.6 '
'TODO: BEAM-7181')
@attr('IT')
def test_streaming_data_only(self):
self._test_streaming(with_attributes=False)

@unittest.skipIf(sys.version[0:3] == '3.6' and
os.environ.get('RUN_SKIPPED_PY3_TESTS') != '1',
'This test still needs to be fixed on Python 3.6 '
'TODO: BEAM-7181')
@attr('IT')
def test_streaming_with_attributes(self):
self._test_streaming(with_attributes=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
from __future__ import absolute_import

import argparse
import os
import sys
import unittest

from nose.plugins.attrib import attr
Expand Down Expand Up @@ -57,10 +55,6 @@ def test_metrics_it(self):
dataflow_exercise_metrics_pipeline.legacy_metric_matchers())
self.assertFalse(errors, str(errors))

@unittest.skipIf(sys.version[0:3] == '3.6' and
os.environ.get('RUN_SKIPPED_PY3_TESTS') != '1',
'This test still needs to be fixed on Python 3.6 '
'TODO: BEAM-7183')
@attr('IT', 'ValidatesContainer')
def test_metrics_fnapi_it(self):
result = self.run_pipeline(experiment='beam_fn_api')
Expand Down

0 comments on commit 9cb1c3c

Please sign in to comment.