-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable automation for java wrappers
- Loading branch information
1 parent
e84f306
commit cf1c35f
Showing
9 changed files
with
88 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from py_hermes_ci.test_manager import TestManager | ||
from jarvis_util.shell.exec import Exec | ||
from jarvis_util.shell.local_exec import LocalExecInfo | ||
|
||
|
||
class KvstoreTestManager(TestManager): | ||
def spawn_all_nodes(self): | ||
return self.spawn_info() | ||
|
||
def set_paths(self): | ||
self.KVSTORE_CMD = f"./gradlew test" | ||
self.disable_testing = False | ||
|
||
def test_hermes_kvstore_java(self): | ||
return | ||
spawn_info = self.spawn_info(nprocs=1, | ||
hermes_conf='hermes_server', | ||
cwd=f"{self.MY_DIR}/java") | ||
self.start_daemon(spawn_info) | ||
node = Exec(self.KVSTORE_CMD, spawn_info) | ||
self.stop_daemon(spawn_info) | ||
return node.exit_code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from py_hermes_ci.test_manager import TestManager | ||
from jarvis_util.shell.exec import Exec | ||
from jarvis_util.shell.local_exec import LocalExecInfo | ||
|
||
|
||
class JavaWrapperTestManager(TestManager): | ||
def spawn_all_nodes(self): | ||
return self.spawn_info() | ||
|
||
def set_paths(self): | ||
self.KVSTORE_CMD = f"./gradlew test" | ||
self.disable_testing = False | ||
|
||
def test_hermes_java(self): | ||
return | ||
spawn_info = self.spawn_info(nprocs=1, | ||
hermes_conf='hermes_server', | ||
cwd=f"{self.MY_DIR}/java") | ||
self.start_daemon(spawn_info) | ||
node = Exec(self.KVSTORE_CMD, spawn_info) | ||
self.stop_daemon(spawn_info) | ||
return node.exit_code |