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

Enable all jetty-deploy tests #9058

Merged
merged 3 commits into from
Dec 20, 2022

Conversation

joakime
Copy link
Contributor

@joakime joakime commented Dec 15, 2022

Enabling all jetty-deploy tests.
Cleaning up tests for modern techniques.
Removing test resources that are no longer being used. (most moved to the ee specific tests)

@joakime joakime added this to the 12.0.x milestone Dec 15, 2022
@joakime joakime self-assigned this Dec 15, 2022
}
}

public void loadPropertiesFromString(String path) throws IOException
Copy link
Contributor Author

@joakime joakime Dec 15, 2022

Choose a reason for hiding this comment

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

These 3 replace the old org.eclipse.jetty.deploy.PropertiesConfigurationManager functionality (that was removed in Jetty 12)

You can see how this is used from an XML configuration below in the src/test/resources/jetty-deploymgr-contexts.xml file

@@ -76,7 +76,7 @@ public void pathChanged(Path path) throws Exception
@Override
public void pathRemoved(Path path) throws Exception
{
ScanningAppProvider.this.pathChanged(path);
ScanningAppProvider.this.pathRemoved(path);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Look at that, a legit bug enabling the tests revealed.

@joakime joakime requested review from gregw and janbartel December 16, 2022 17:59
@joakime joakime merged commit c7e8665 into jetty-12.0.x Dec 20, 2022
@joakime joakime deleted the fix/jetty-12.0.x/deploy-test-updates branch December 20, 2022 17:40
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.

2 participants