Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Update 2.3.0 - #6431

Merged
NateBrady23 merged 6 commits into
TechEmpower:masterfrom
redkale:master
Mar 11, 2021
Merged

NateBrady23 merged 6 commits into
TechEmpower:masterfrom
redkale:master

Conversation

@redkale

@redkale redkale commented Mar 10, 2021

Copy link
Copy Markdown
Contributor

No description provided.

public Message getHelloMessage() {
return new Message("Hello, World!");
public Object getHelloMessage() {
return JSON_TEST ? msgjson : new Message("Hello, World!");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please revert this. This function should always instantiate a new object. Code for testing something different shouldn't be committed here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is just a debugging code. The reason why the test data used to locate JSON is not high depends on whether it is IO problem or JSON parsing problem

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Unfortunately I’m not going to merge debugging code that breaks the test rules. It’s too easy to forget about that with the number of tests here. You’ll have to test these types of things locally.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

OK, I'll take it out now

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@NateBrady23
NateBrady23 merged commit de93455 into TechEmpower:master Mar 11, 2021
andreasrueb pushed a commit to digitallyinduced/IHP-FrameworkBenchmarks that referenced this pull request Apr 13, 2021
* Update application.xml

* Update persistence.xml

* Update benchmark_config.json

* Update Service.java
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants