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 2022/05/16 23:13:00 UTC
[jira] [Work logged] (BEAM-14467) Failed test annotated with no_xdist passes github action python test
[ https://issues.apache.org/jira/browse/BEAM-14467?focusedWorklogId=771064&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-771064 ]
ASF GitHub Bot logged work on BEAM-14467:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 16/May/22 23:12
Start Date: 16/May/22 23:12
Worklog Time Spent: 10m
Work Description: TheNeuralBit commented on PR #17687:
URL: https://github.com/apache/beam/pull/17687#issuecomment-1128226134
R: @Abacn
Issue Time Tracking
-------------------
Worklog Id: (was: 771064)
Time Spent: 20m (was: 10m)
> Failed test annotated with no_xdist passes github action python test
> --------------------------------------------------------------------
>
> Key: BEAM-14467
> URL: https://issues.apache.org/jira/browse/BEAM-14467
> Project: Beam
> Issue Type: Bug
> Components: build-system
> Reporter: Yi Hu
> Assignee: Brian Hulette
> Priority: P1
> Time Spent: 20m
> Remaining Estimate: 0h
>
> A python unit test annotated with @pytest.mark.no_xdist does not cause GIthub Action check fails even though the test fails. See https://github.com/apache/beam/pull/17649 for example. The test is executed and failed which can be seen in log.
> {code}
> def test_expected_failure(self):
> > assert False
> E AssertionError: assert False
> apache_beam/pvalue_test.py:56: AssertionError
> - generated xml file: /home/runner/work/beam/beam/sdks/python/pytest_py37_no_xdist.xml -
> ====== 1 failed, 71 passed, 12 skipped, 5389 deselected in 11.71 seconds =======
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)