mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gary_williams
21.36.2007 79c38fbbda86995b5f890bdb60efc65fea328e55
runCommand can have non unique block name
1 files modified
7 ■■■■■ changed files
opends/tests/functional-tests/shared/functions/utils.xml 7 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/functions/utils.xml
@@ -1283,11 +1283,12 @@
    <sequence>
      <script>
        import random
        random.seed()
        _id = '%s#%d' % (strftime('%Y-%m-%d %H:%M:%S',localtime()),random.randint(0,9))
        import java.util.Date
        random.seed(java.util.Date().getTime())
        _id = '%s#%d' % (strftime('%Y-%m-%d %H:%M:%S',localtime()),random.randint(0,999))
      </script>
      <message>
        '%s: Running command:\n %s %s\nenv: %s\nworkdir: %s' % (_id,command,arguments,env,path)
        '%s: Running command:\n %s %s\nlocation: %s\nenv: %s\nworkdir: %s' % (_id,command,arguments,location,env,path)
      </message>
      
      <block name="'%s:Wrapper for %s' % (_id,re.compile('\..*$').sub('',os.path.basename(command)))">