You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/13 12:23:00 UTC

[jira] [Work logged] (BEAM-11411) Example of E2E test for Pub/Sub environment

     [ https://issues.apache.org/jira/browse/BEAM-11411?focusedWorklogId=535344&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-535344 ]

ASF GitHub Bot logged work on BEAM-11411:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Jan/21 12:22
            Start Date: 13/Jan/21 12:22
    Worklog Time Spent: 10m 
      Work Description: codecov[bot] edited a comment on pull request #13636:
URL: https://github.com/apache/beam/pull/13636#issuecomment-752713510


   # [Codecov](https://codecov.io/gh/apache/beam/pull/13636?src=pr&el=h1) Report
   > Merging [#13636](https://codecov.io/gh/apache/beam/pull/13636?src=pr&el=desc) (5e17b69) into [master](https://codecov.io/gh/apache/beam/commit/6c9da02d553cc0d39d29b0293c9b37ac0ceec73e?el=desc) (6c9da02) will **decrease** coverage by `0.02%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/beam/pull/13636/graphs/tree.svg?width=650&height=150&src=pr&token=qcbbAh8Fj1)](https://codecov.io/gh/apache/beam/pull/13636?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13636      +/-   ##
   ==========================================
   - Coverage   82.76%   82.73%   -0.03%     
   ==========================================
     Files         466      466              
     Lines       57520    57514       -6     
   ==========================================
   - Hits        47605    47584      -21     
   - Misses       9915     9930      +15     
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/beam/pull/13636?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [.../python/apache\_beam/testing/test\_stream\_service.py](https://codecov.io/gh/apache/beam/pull/13636/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdGVzdGluZy90ZXN0X3N0cmVhbV9zZXJ2aWNlLnB5) | `88.63% <0.00%> (-4.55%)` | :arrow_down: |
   | [...che\_beam/runners/interactive/interactive\_runner.py](https://codecov.io/gh/apache/beam/pull/13636/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9pbnRlcmFjdGl2ZS9pbnRlcmFjdGl2ZV9ydW5uZXIucHk=) | `90.90% <0.00%> (-1.82%)` | :arrow_down: |
   | [sdks/python/apache\_beam/io/source\_test\_utils.py](https://codecov.io/gh/apache/beam/pull/13636/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vaW8vc291cmNlX3Rlc3RfdXRpbHMucHk=) | `88.28% <0.00%> (-1.36%)` | :arrow_down: |
   | [sdks/python/apache\_beam/pipeline.py](https://codecov.io/gh/apache/beam/pull/13636/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcGlwZWxpbmUucHk=) | `90.32% <0.00%> (-0.79%)` | :arrow_down: |
   | [sdks/python/apache\_beam/dataframe/frames.py](https://codecov.io/gh/apache/beam/pull/13636/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZGF0YWZyYW1lL2ZyYW1lcy5weQ==) | `91.32% <0.00%> (-0.67%)` | :arrow_down: |
   | [sdks/python/apache\_beam/runners/direct/executor.py](https://codecov.io/gh/apache/beam/pull/13636/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9kaXJlY3QvZXhlY3V0b3IucHk=) | `96.29% <0.00%> (-0.53%)` | :arrow_down: |
   | [sdks/python/apache\_beam/transforms/ptransform.py](https://codecov.io/gh/apache/beam/pull/13636/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdHJhbnNmb3Jtcy9wdHJhbnNmb3JtLnB5) | `92.96% <0.00%> (-0.11%)` | :arrow_down: |
   | [setup.py](https://codecov.io/gh/apache/beam/pull/13636/diff?src=pr&el=tree#diff-c2V0dXAucHk=) | `0.00% <0.00%> (ø)` | |
   | [...ache\_beam/examples/cookbook/bigquery\_side\_input.py](https://codecov.io/gh/apache/beam/pull/13636/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMvY29va2Jvb2svYmlncXVlcnlfc2lkZV9pbnB1dC5weQ==) | `56.14% <0.00%> (ø)` | |
   | [...hon/apache\_beam/runners/worker/bundle\_processor.py](https://codecov.io/gh/apache/beam/pull/13636/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy93b3JrZXIvYnVuZGxlX3Byb2Nlc3Nvci5weQ==) | `93.83% <0.00%> (+0.12%)` | :arrow_up: |
   | ... and [4 more](https://codecov.io/gh/apache/beam/pull/13636/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/beam/pull/13636?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/beam/pull/13636?src=pr&el=footer). Last update [6c9da02...c66262f](https://codecov.io/gh/apache/beam/pull/13636?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 535344)
    Time Spent: 40m  (was: 0.5h)

> Example of E2E test for Pub/Sub environment
> -------------------------------------------
>
>                 Key: BEAM-11411
>                 URL: https://issues.apache.org/jira/browse/BEAM-11411
>             Project: Beam
>          Issue Type: Improvement
>          Components: examples-java
>            Reporter: Ilya Kozyrev
>            Priority: P2
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Kafka to Pub/Sub pipeline [example|https://github.com/apache/beam/pull/13112] needs to have e2e tests. However, in Beam Testing Guide [https://cwiki.apache.org/confluence/display/BEAM/Contribution+Testing+Guide] , we have not found examples or documentation for e2e tests that require a Pub/Sub environment can be set up.
> During the investigation and with the help of our reviewers we found possible approaches for our issue. 
> For Pub/Sub, e2e test could use [Pub/Sub emulator|https://cloud.google.com/pubsub/docs/emulator]
> These e2e test examples can be referenced in the [https://cwiki.apache.org/confluence/display/BEAM/Contribution+Testing+Guide] to serve examples of how customers may approach e2e testing of pipelines in their environments.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)