Skip to content
Snippets Groups Projects
Commit 827735f1 authored by Simon Ehrenstein's avatar Simon Ehrenstein
Browse files

Fix slo-checker tests

parent b3c3f2d3
No related branches found
No related tags found
1 merge request!243Migrate to Strimzi Kafka
......@@ -24,7 +24,6 @@ elif os.getenv('LOG_LEVEL') == 'DEBUG':
def calculate_slope_trend(results, warmup):
d = []
for result in results:
print(result)
group = result['metric']['consumergroup']
for value in result['values']:
d.append({'group': group, 'timestamp': int(
......
......@@ -15,7 +15,6 @@ class TestSloEvaluation(unittest.TestCase):
def test_3_rep(self):
with open('../resources/test-3-rep-success.json') as json_file:
data = json.load(json_file)
print(data)
response = self.client.post("/evaluate-slope", json=data)
self.assertEquals(response.json(), True)
......
......@@ -100,7 +100,7 @@
[
{
"metric": {
"group": "theodolite-uc1-application-0.0.1"
"consumergroup": "theodolite-uc1-application-0.0.1"
},
"values": [
[
......@@ -193,7 +193,7 @@
[
{
"metric": {
"group": "theodolite-uc1-application-0.0.1"
"consumergroup": "theodolite-uc1-application-0.0.1"
},
"values": [
[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment