Bugzilla – Bug 2807
execution aggregator source junit test needs some work
Last modified: 2008-02-12 11:11:19
You need to log in before you can comment on or make changes to this bug.
The execution aggregator source junit test needs to be fixed to actually run a valid executable and test the result. Validating the output of cat (or equivalent) on an xml sample file should suffice. Currently, the tests pass even though this is not actually happening. An error message is generated in the log, but what should probably happen is that a junit assertion be thrown.
It turns out there is a sample executable (it's installed, but sort of hidden, by default, and I haven't tried to test with it): see "[]http://www-unix.globus.org/toolkit/docs/development/4.0-drafts/info/aggregator/developer/pingtest.html".
I committed code to the test to run the aggregator-test-exec.sh file that is now copied from G_L/etc/globus_wsrf_mds_aggregator to G_L/libexec/aggrexec. The test no longer should generate server side error messages on Linux. On Windows an error is still generated. We will have to add code to ExecutionAggregatorSource if we want total Windows compatibility, so this bug maybe should be closed and reopened as an enhancement request for ExecAggr source on Windows.