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

Running tests. #23

Open
ghost opened this issue Aug 18, 2019 · 6 comments
Open

Running tests. #23

ghost opened this issue Aug 18, 2019 · 6 comments

Comments

@ghost
Copy link

ghost commented Aug 18, 2019

I'm trying to run some of the tests and I get the following error: "java: cannot access sun.misc.Unsafe"

Also, running "mvn -Dtest=PerfThroughput#throughputTest test" gives me the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project exchange-core: No tests were executed!

Thank you.

@mzheravin
Copy link
Collaborator

Probably you are using java version above Java 8.

@ghost
Copy link
Author

ghost commented Aug 31, 2019

My project SDK is Java 12.0.1, but my project language level is 8. Do I need to change my SDK to version 8 ?

Thank you.

@ghost
Copy link
Author

ghost commented Aug 31, 2019

Downloaded SDK 8 and its fixed. May I ask why it doesn't work on later versions (above 8) ? Thank you.

@ttuanho
Copy link

ttuanho commented Feb 18, 2020

Downloaded SDK 8 and its fixed. May I ask why it doesn't work on later versions (above 8) ? Thank you.

For example, processing annotations like Lombok doesn't support higher Java 8.

@ttuanho
Copy link

ttuanho commented Feb 18, 2020

I'm trying to run some of the tests and I get the following error: "java: cannot access sun.misc.Unsafe"

Also, running "mvn -Dtest=PerfThroughput#throughputTest test" gives me the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project exchange-core: No tests were executed!

The cmd should be mvn -Dtest=PerfThroughput test; the option test is commented out in the post.

@ttuanho
Copy link

ttuanho commented Feb 18, 2020

@mzheravin

Can you fix the typos README.md for this?

My commits pushed would be a mess.

How to run performance tests

  • Latency test:
mvn -Dtest=PerfLatency test #testLatencyMargin test
  • Throughput test:
mvn -Dtest=PerfThroughput test #testThroughputMargin test
  • Hiccups test:
mvn -Dtest=PerfHiccups test #testHiccups test
  • Serialization test:
mvn -Dtest=PerfPersistence test #testPersistenceMargin test

Thanks.

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

No branches or pull requests

3 participants
@mzheravin @ttuanho and others