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

TestContainer should not rely on HazelcastInstance #1509

Closed
pveentjer opened this issue Mar 28, 2017 · 1 comment
Closed

TestContainer should not rely on HazelcastInstance #1509

pveentjer opened this issue Mar 28, 2017 · 1 comment
Labels
Milestone

Comments

@pveentjer
Copy link
Contributor

This is a problem when something else than Hazelcast is used as vendor and Hazelcast not installed on the agents

ERROR 2017-03-28 02:49:56,044 [Thread-0] com.hazelcast.simulator.protocol.Server: Lcom/hazelcast/core/HazelcastInstance;
java.lang.NoClassDefFoundError: Lcom/hazelcast/core/HazelcastInstance;
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
        at java.lang.Class.getDeclaredFields(Class.java:1916)
        at com.hazelcast.simulator.worker.testcontainer.PropertyBinding.bind(PropertyBinding.java:212)
        at com.hazelcast.simulator.worker.testcontainer.TestContainer.<init>(TestContainer.java:106)
        at com.hazelcast.simulator.worker.testcontainer.TestContainer.<init>(TestContainer.java:84)
        at com.hazelcast.simulator.worker.testcontainer.TestManager.createTest(TestManager.java:76)
        at com.hazelcast.simulator.worker.WorkerOperationProcessor.process(WorkerOperationProcessor.java:55)
        at com.hazelcast.simulator.protocol.Server$ServerThread.handle(Server.java:252)
        at com.hazelcast.simulator.protocol.Server$ServerThread.run(Server.java:224)
Caused by: java.lang.ClassNotFoundException: com.hazelcast.core.HazelcastInstance
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 10 more
@pveentjer pveentjer added the bug label Mar 28, 2017
@pveentjer pveentjer modified the milestones: 0.10, Dropped Mar 28, 2017
@pveentjer
Copy link
Contributor Author

Closing this one. It isn't an issue; if the test isn't using the HazelcastInstanceAware; like any non hz test will, the problem doesn't happen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant