You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "scott-strong (via GitHub)" <gi...@apache.org> on 2024/03/27 16:05:50 UTC

[I] [Bug]: org.junit.rules.TestRule class referenced in TestPipeline deprecated in newest version of junit [beam]

scott-strong opened a new issue, #30767:
URL: https://github.com/apache/beam/issues/30767

   ### What happened?
   
   Attempting to compile a class that uses [TestPipeline](https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/TestPipeline.java) results in the following error:
   ```
   cannot access org.junit.rules.TestRule
     class file for org.junit.rules.TestRule not found
   ```
   
   This class was deprecated in junit 5.
   
   ### Issue Priority
   
   Priority: 1 (data loss / total loss of function)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [X] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam YAML
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

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


Re: [I] [Bug]: org.junit.rules.TestRule class referenced in TestPipeline deprecated in newest version of junit [beam]

Posted by "scott-strong (via GitHub)" <gi...@apache.org>.
scott-strong closed issue #30767: [Bug]: org.junit.rules.TestRule class referenced in TestPipeline deprecated in newest version of junit
URL: https://github.com/apache/beam/issues/30767


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

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


Re: [I] [Bug]: org.junit.rules.TestRule class referenced in TestPipeline deprecated in newest version of junit [beam]

Posted by "scott-strong (via GitHub)" <gi...@apache.org>.
scott-strong commented on issue #30767:
URL: https://github.com/apache/beam/issues/30767#issuecomment-2029838584

   I think this is more of an issue with dependency management on our side. The change here in 2.55.0 does mean that we're now limited to junit4 though


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

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