Mercurial > hg > release > thermostat-1.6
changeset 1717:f6eb70a4744f
Fix bundle dependencies for command 'gc'
PR2564
Reviewed-by: omajid
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-July/014946.html
author | Jie Kang <jkang@redhat.com> |
---|---|
date | Tue, 28 Jul 2015 13:48:30 -0400 |
parents | 86cd8bae1a95 |
children | d340a415cca4 |
files | integration-tests/itest-run/src/test/java/com/redhat/thermostat/itest/VmCommandsTest.java vm-gc/distribution/thermostat-plugin.xml |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/integration-tests/itest-run/src/test/java/com/redhat/thermostat/itest/VmCommandsTest.java Tue Jul 28 17:14:09 2015 +0200 +++ b/integration-tests/itest-run/src/test/java/com/redhat/thermostat/itest/VmCommandsTest.java Tue Jul 28 13:48:30 2015 -0400 @@ -95,6 +95,16 @@ } @Test + public void testGc() throws Exception { + Spawn gcCommand = commandAgainstMongo("gc"); + // TODO include required options to test meaningfully + gcCommand.expectClose(); + + assertCommandIsFound(gcCommand.getCurrentStandardOutContents(), gcCommand.getCurrentStandardErrContents()); + assertNoExceptions(gcCommand.getCurrentStandardOutContents(), gcCommand.getCurrentStandardErrContents()); + } + + @Test public void testVmInfo() throws Exception { Spawn vmInfo = commandAgainstMongo("vm-info"); // TODO include required options to test meaningfully
--- a/vm-gc/distribution/thermostat-plugin.xml Tue Jul 28 17:14:09 2015 +0200 +++ b/vm-gc/distribution/thermostat-plugin.xml Tue Jul 28 13:48:30 2015 -0400 @@ -59,6 +59,7 @@ </environments> <bundles> <bundle><symbolic-name>com.redhat.thermostat.vm.gc.command</symbolic-name><version>${project.version}</version></bundle> + <bundle><symbolic-name>com.redhat.thermostat.vm.gc.common</symbolic-name><version>${project.version}</version></bundle> <bundle><symbolic-name>com.redhat.thermostat.gc.remote.client.common</symbolic-name><version>${project.version}</version></bundle> <bundle><symbolic-name>com.redhat.thermostat.gc.remote.common.command</symbolic-name><version>${project.version}</version></bundle> <bundle><symbolic-name>com.redhat.thermostat.common.command</symbolic-name><version>${project.version}</version></bundle>