Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve runbundles and fix tests #14588

Merged
merged 1 commit into from
Mar 12, 2023

Conversation

wborn
Copy link
Member

@wborn wborn commented Mar 12, 2023

Related to:

* openhab/openhab-core#3433
* openhab/openhab-core#3446
* openhab/openhab-core#3450

Some tests were updated because private lifecycle methods (annotated with @BeforeAll, @afterall, @beforeeach, or @AfterEach) now lead to an exception.

See: https://junit.org/junit5/docs/current/release-notes/index.html#deprecations-and-breaking-changes-3

Signed-off-by: Wouter Born <github@maindrain.net>
@wborn wborn force-pushed the resolve-runbundles-fix-tests branch from fd8bfb4 to 7b72ebf Compare March 12, 2023 14:47
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the upgrades and fixes!

@kaikreuzer kaikreuzer added rebuild Triggers Jenkins PR build and removed awaiting other PR Depends on another PR rebuild Triggers Jenkins PR build labels Mar 12, 2023
@kaikreuzer kaikreuzer added this to the 4.0 milestone Mar 12, 2023
@kaikreuzer kaikreuzer merged commit 9aa72ab into openhab:main Mar 12, 2023
@wborn wborn deleted the resolve-runbundles-fix-tests branch March 12, 2023 22:01
Copy link
Contributor

@hmerk hmerk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for Wemo

@andrewfg
Copy link
Contributor

andrewfg commented Mar 13, 2023

@wborn (putting aside the fact that this broke my PR #13570 yet again) .. .. as @kaikreuzer says "another effect of Java17 is that it (OH 4.0) does not include the Nashorn Javascript engine anymore" so perhaps you need to remove org.openhab.automation.jsscriptingnashorn.tests?

@wborn
Copy link
Member Author

wborn commented Mar 13, 2023

No because @kaikreuzer also says "Install the JavaScript Nashorn add-on ...".
So that's the add-on that is tested by that project. 🙂

renescherer pushed a commit to renescherer/openhab-addons that referenced this pull request Mar 23, 2023
Related to:

* openhab/openhab-core#3433
* openhab/openhab-core#3446
* openhab/openhab-core#3450

Some tests were updated because private lifecycle methods (annotated with @BeforeAll, @afterall, @beforeeach, or @AfterEach) now lead to an exception.

See: https://junit.org/junit5/docs/current/release-notes/index.html#deprecations-and-breaking-changes-3

Signed-off-by: Wouter Born <github@maindrain.net>
FordPrfkt pushed a commit to FordPrfkt/openhab-addons that referenced this pull request Apr 20, 2023
Related to:

* openhab/openhab-core#3433
* openhab/openhab-core#3446
* openhab/openhab-core#3450

Some tests were updated because private lifecycle methods (annotated with @BeforeAll, @afterall, @beforeeach, or @AfterEach) now lead to an exception.

See: https://junit.org/junit5/docs/current/release-notes/index.html#deprecations-and-breaking-changes-3

Signed-off-by: Wouter Born <github@maindrain.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants