Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-5039

python postcommit broken in call to WriteToPubSub

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • Not applicable
    • sdk-py-core
    • None

    Description

      ERROR: test_streaming_wordcount_it (apache_beam.examples.streaming_wordcount_it_test.StreamingWordCountIT)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/examples/streaming_wordcount_it_test.py", line 105, in test_streaming_wordcount_it
      self.test_pipeline.get_full_options_as_args(**extra_opts))
      File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/examples/streaming_wordcount.py", line 90, in run
      output | beam.io.WriteToPubSub(known_args.output_topic)
      TypeError: _init_() takes at least 3 arguments (2 given)

      https://builds.apache.org/job/beam_PostCommit_Python_Verify/5597/consoleText

      Attachments

        Issue Links

          Activity

            People

              udim Udi Meiri
              udim Udi Meiri
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h