示例#1
0
 def _get_drmaa(cls):
     events.append('get drmaa')
     return DummyDRMAAModule(), DummyDRMAASession()
示例#2
0
 def synchronize(self, jobids, timeout, cleanup):
     events.append('sync %s timeout %s cleanup %s' \
                   % (str(jobids), timeout, str(cleanup)))
示例#3
0
 def wait(self, jobid, timeout):
     events.append('wait %s timeout %s' \
                   % (str(jobid), timeout))
     return jobid != 'jobN.fail'
示例#4
0
 def add(self, key):
     events.append('add job dict ' + key)
示例#5
0
 def remove(self, key):
     events.append('remove job dict ' + key)
示例#6
0
 def initialize(self):
     events.append('drmaa session init')
示例#7
0
 def exit(self):
     events.append('drmaa session exit')
示例#8
0
 def wait(self, jobid, timeout):
     events.append('wait %s timeout %s' \
                   % (str(jobid), timeout))
     return jobid != 'jobN.fail'
示例#9
0
 def _get_drmaa(cls):
     events.append('get drmaa')
     return DummyDRMAAModule(), DummyDRMAASession()
示例#10
0
 def synchronize(self, jobids, timeout, cleanup):
     events.append('sync %s timeout %s cleanup %s' \
                   % (str(jobids), timeout, str(cleanup)))
示例#11
0
 def remove(self, key):
     events.append('remove job dict ' + key)
示例#12
0
 def add(self, key):
     events.append('add job dict ' + key)
示例#13
0
 def exit(self):
     events.append('drmaa session exit')
示例#14
0
 def initialize(self):
     events.append('drmaa session init')