Hi Marlon, I want to run a GFac provider test case in which all the associated entities (input/output handlers) of a provider are invoked. The good news is I am able to run a simple provider test case (partially), wherein the provider's input handlers are invoked, but not the output handlers. Thanks to Raminder and Lahiru.
The test case Lahiru has mentioned is not entering the GSI-SSH's output handlers because it is required to have job submitted through EmbeddedGfacJobSubmitter instead of GfacImpl. To test the minimal provider functionality it would be helpful to have a unit test that is running through all the mandatory life cycle phases of a provider (without requiring an external server instance). Thanks for the replies. Cheers, Shahbaz On Wed, Apr 9, 2014 at 7:11 PM, Lahiru Gunathilake <glah...@gmail.com>wrote: > Hi Shabhaz, > > If you just want a unit test you can > run GSISSHProviderTestWithMyProxyAuth.java in gfac-core/src/test/java. > > Before run it you need to configure it with right credentials. I am still > working on getting gfac tests with maven. > > Regards > Lahiru > > > On Mon, Apr 7, 2014 at 9:38 AM, Lahiru Gunathilake <glah...@gmail.com>wrote: > >> You can use >> git/airavata/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchExperiment.java >> class to test gsissh support, in trunk we do not support gram. >> >> Unless you implement a monitoring mechanism and come to a conclusion >> about the state your outhandlers will not get executed. >> >> >> >> >> 2014-04-07 9:12 GMT-04:00 Shahbaz Memon <m.me...@fz-juelich.de>: >> >> Hi Devs, >>> >>> Please can someone point me to a working GSI-SSH or Gram job execution >>> test case? >>> >>> Thanks, >>> >>> Shahbaz >>> >>> >>> >>> ------------------------------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------------------------ >>> Forschungszentrum Juelich GmbH >>> 52425 Juelich >>> Sitz der Gesellschaft: Juelich >>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 >>> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher >>> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), >>> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, >>> Prof. Dr. Sebastian M. Schmidt >>> >>> ------------------------------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------------------------ >>> >>> >> >> >> -- >> System Analyst Programmer >> PTI Lab >> Indiana University >> > > > > -- > System Analyst Programmer > PTI Lab > Indiana University >