Commit 76b353fa by Rafael Monnerat

execution-time decreased to 0.5 at slapos.core

1 parent 91bf2ff6
......@@ -158,7 +158,7 @@ class RunPromise(GenericPromise):
u'result': {
u'failed': False, u'message': u'success', u'type': u'Test Result'
},
u'execution-time': 0.1,
u'execution-time': 0.05,
u'path': u'%s/my_promise.py' % self.promise_dir,
}
self.assertEqual(expected_result, my_result)
......@@ -173,7 +173,7 @@ class RunPromise(GenericPromise):
u'result': {
u'failed': False, u'message': u'success', u'type': u'Test Result'
},
u'execution-time': 0.1,
u'execution-time': 0.05,
u'path': u'%s/my_second_promise.py' % self.promise_dir,
}
self.assertEqual(expected_result, second_result)
......@@ -194,7 +194,7 @@ class RunPromise(GenericPromise):
u'result': {
u'failed': True, u'message': u'failed', u'type': u'Test Result'
},
u'execution-time': 0.1,
u'execution-time': 0.05,
u'path': u'%s/my_promise.py' % self.promise_dir,
}
self.assertEqual(expected_result, my_result)
......@@ -215,7 +215,7 @@ class RunPromise(GenericPromise):
u'result': {
u'failed': True, u'message': u'failed', u'type': u'Test Result'
},
u'execution-time': 0.1,
u'execution-time': 0.05,
u'path': u'%s/my_promise.py' % self.promise_dir,
}
self.assertEqual(expected_result, my_result)
......@@ -234,7 +234,7 @@ class RunPromise(GenericPromise):
u'result': {
u'failed': False, u'message': u'success', u'type': u'Test Result'
},
u'execution-time': 0.1,
u'execution-time': 0.05,
u'path': u'%s/my_promise.py' % self.promise_dir,
}
self.assertEqual(expected_result, my_result)
......@@ -295,7 +295,7 @@ class RunPromise(GenericPromise):
u'result': {
u'failed': False, u'message': u'success', u'type': u'Test Result'
},
u'execution-time': 0.1,
u'execution-time': 0.05,
u'path': u'%s' % promise,
}
......@@ -327,7 +327,7 @@ class RunPromise(GenericPromise):
u'result': {
u'failed': False, u'message': u'success', u'type': u'Test Result'
},
u'execution-time': 0.1,
u'execution-time': 0.05,
u'path': u'%s' % promise,
}
self.assertEqual(expected_result, result1)
......@@ -340,7 +340,7 @@ class RunPromise(GenericPromise):
u'result': {
u'failed': False, u'message': u'success', u'type': u'Test Result'
},
u'execution-time': 0.1,
u'execution-time': 0.05,
u'path': u'%s' % promise2,
}
self.assertEqual(expected_result, result2)
......@@ -360,7 +360,7 @@ class RunPromise(GenericPromise):
u'result': {
u'failed': True, u'message': u'failed', u'type': u'Test Result'
},
u'execution-time': 0.1,
u'execution-time': 0.05,
u'path': u'%s' % promise,
}
self.assertEqual(expected_result, result1)
......@@ -387,7 +387,7 @@ class RunPromise(GenericPromise):
u'result': {
u'failed': False, u'message': u'success', u'type': u'Test Result'
},
u'execution-time': 0.1,
u'execution-time': 0.05,
u'path': u'%s' % promise,
}
self.assertEqual(expected_result, result1)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!