Merge "Change the type of test_duration to "float""
This commit is contained in:
commit
69250700f0
|
@ -387,7 +387,7 @@ def subunit_iter(file_name, index, es_fields):
|
|||
fields = copy.deepcopy(es_fields)
|
||||
|
||||
fields["test_name"] = test_name
|
||||
fields["test_duration"] = test_duration
|
||||
fields["test_duration"] = float(test_duration)
|
||||
fields["test_status"] = parsed_subunit[test_name]["status"]
|
||||
fields["@timestamp"] = start_time.strftime('%Y-%m-%dT%H:%M:%SZ')
|
||||
|
||||
|
|
|
@ -1165,7 +1165,7 @@ class TestSubunit(base.TestCase):
|
|||
'setUpClass (neutron_tempest_plugin.scenario.'
|
||||
'test_dns_integration.'
|
||||
'DNSIntegrationDomainPerProjectTests)',
|
||||
'test_duration': '0.0',
|
||||
'test_duration': 0.0,
|
||||
'test_status': 'skip',
|
||||
'@timestamp': '2022-09-21T08:10:06Z'
|
||||
})
|
||||
|
@ -1176,7 +1176,7 @@ class TestSubunit(base.TestCase):
|
|||
'neutron_tempest_plugin.scenario.test_dns_integration.'
|
||||
'DNSIntegrationAdminTests.'
|
||||
'test_fip_admin_delete',
|
||||
'test_duration': '7.103220',
|
||||
'test_duration': 7.103220,
|
||||
'test_status': 'success',
|
||||
'@timestamp': '2022-09-21T08:10:20Z'
|
||||
})
|
||||
|
@ -1187,7 +1187,7 @@ class TestSubunit(base.TestCase):
|
|||
'neutron_tempest_plugin.scenario.test_dns_integration.'
|
||||
'DNSIntegrationExtraTests.'
|
||||
'test_port_with_publishing_subnet',
|
||||
'test_duration': '9.188214',
|
||||
'test_duration': 9.188214,
|
||||
'test_status': 'success',
|
||||
'@timestamp': '2022-09-21T08:10:20Z'
|
||||
})
|
||||
|
@ -1198,7 +1198,7 @@ class TestSubunit(base.TestCase):
|
|||
'neutron_tempest_plugin.scenario.test_dns_integration.'
|
||||
'DNSIntegrationTests.'
|
||||
'test_fip',
|
||||
'test_duration': '6.738004',
|
||||
'test_duration': 6.738004,
|
||||
'test_status': 'success',
|
||||
'@timestamp': '2022-09-21T08:10:23Z'
|
||||
})
|
||||
|
@ -1209,7 +1209,7 @@ class TestSubunit(base.TestCase):
|
|||
'neutron_tempest_plugin.scenario.test_dns_integration.'
|
||||
'DNSIntegrationAdminTests.'
|
||||
'test_port_on_special_network',
|
||||
'test_duration': '6.611149',
|
||||
'test_duration': 6.611149,
|
||||
'test_status': 'success',
|
||||
'@timestamp': '2022-09-21T08:10:27Z'
|
||||
})
|
||||
|
@ -1220,7 +1220,7 @@ class TestSubunit(base.TestCase):
|
|||
'neutron_tempest_plugin.scenario.test_dns_integration.'
|
||||
'DNSIntegrationTests.'
|
||||
'test_server_with_fip',
|
||||
'test_duration': '30.278503',
|
||||
'test_duration': 30.278503,
|
||||
'test_status': 'success',
|
||||
'@timestamp': '2022-09-21T08:10:30Z'
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue