Skip to content

Commit

Permalink
Merge pull request #2626 from rodrigc/ec2_1
Browse files Browse the repository at this point in the history
Compare a string with a string, not an integer.
  • Loading branch information
tardyp committed Jan 18, 2017
2 parents 7f6e965 + c4dfabe commit b086de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/test/unit/test_worker_ec2.py
Expand Up @@ -206,7 +206,7 @@ def test_start_instance(self):
instance_id, image_id, start_time = bs._start_instance()
self.assertTrue(instance_id.startswith('i-'))
self.assertTrue(image_id.startswith('ami-'))
self.assertTrue(start_time > 0)
self.assertTrue(start_time > "00:00:00")
instances = r.instances.filter(
Filters=[{'Name': 'instance-state-name', 'Values': ['running']}])
instances = list(instances)
Expand Down

0 comments on commit b086de2

Please sign in to comment.