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/02 20:56:00 UTC

[jira] [Work logged] (BEAM-14231) Python precommit failing test_schema_with_bad_field_raises_helpful_error

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

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

                Author: ASF GitHub Bot
            Created on: 02/May/22 20:55
            Start Date: 02/May/22 20:55
    Worklog Time Spent: 10m 
      Work Description: TheNeuralBit opened a new pull request, #17525:
URL: https://github.com/apache/beam/pull/17525

   
   
   GitHub Actions Tests Status (on master branch)
   ------------------------------------------------------------------------------------------------
   [![Build python source distribution and wheels](https://github.com/apache/beam/workflows/Build%20python%20source%20distribution%20and%20wheels/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Build+python+source+distribution+and+wheels%22+branch%3Amaster+event%3Aschedule)
   [![Python tests](https://github.com/apache/beam/workflows/Python%20tests/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Python+Tests%22+branch%3Amaster+event%3Aschedule)
   [![Java tests](https://github.com/apache/beam/workflows/Java%20Tests/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Java+Tests%22+branch%3Amaster+event%3Aschedule)
   
   See [CI.md](https://github.com/apache/beam/blob/master/CI.md) for more information about GitHub Actions CI.
   




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

    Worklog Id:     (was: 765131)
    Time Spent: 20m  (was: 10m)

> Python precommit failing test_schema_with_bad_field_raises_helpful_error
> ------------------------------------------------------------------------
>
>                 Key: BEAM-14231
>                 URL: https://issues.apache.org/jira/browse/BEAM-14231
>             Project: Beam
>          Issue Type: Test
>          Components: test-failures
>            Reporter: Kiley Sok
>            Assignee: Brian Hulette
>            Priority: P2
>              Labels: stale-assigned
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> apache_beam.typehints.schemas_test.SchemaTest.test_schema_with_bad_field_raises_helpful_error (from py39-cloud)
> self = <apache_beam.typehints.schemas_test.SchemaTest testMethod=test_schema_with_bad_field_raises_helpful_error>
>     def test_schema_with_bad_field_raises_helpful_error(self):
>       schema_proto = schema_pb2.Schema(
>           fields=[
>               schema_pb2.Field(
>                   name="type_with_no_typeinfo", type=schema_pb2.FieldType())
>           ])
>     
>       # Should raise an exception referencing the problem field
> >     self.assertRaisesRegex(
>           ValueError,
>           "type_with_no_typeinfo",
>           lambda: named_tuple_from_schema(schema_proto))
> E     AssertionError: ValueError not raised by <lambda>
> apache_beam/typehints/schemas_test.py:320: AssertionError
> https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/5455



--
This message was sent by Atlassian Jira
(v8.20.7#820007)