From 17895e97184db74306dc715137116df65a9818f5 Mon Sep 17 00:00:00 2001 From: shivkumar dudhani Date: Mon, 14 Oct 2019 12:48:24 -0700 Subject: [PATCH] cleanUp --- .../test/scenario_query_lb_count.yaml | 20 ------------------- test/scenarios/test/scenario_query_no_lb.yaml | 20 ------------------- 2 files changed, 40 deletions(-) delete mode 100644 test/scenarios/test/scenario_query_lb_count.yaml delete mode 100644 test/scenarios/test/scenario_query_no_lb.yaml diff --git a/test/scenarios/test/scenario_query_lb_count.yaml b/test/scenarios/test/scenario_query_lb_count.yaml deleted file mode 100644 index d1dd596718..0000000000 --- a/test/scenarios/test/scenario_query_lb_count.yaml +++ /dev/null @@ -1,20 +0,0 @@ -# file path relative to project root -input: - policy: test/scenarios/policy_validate_loadblancer.yaml - resource: test/scenarios/resource_lb1.yaml - loadresources: - - examples/query/resource_ns_test.yaml -expected: - query: - policyresponse: - policy: query1 - resource: - kind: Service - apiVersion: v1 - namespace: test - name: lb1 - rules: - - name: Max one service of type LoadBalancer in namespace test - type: Query - success: true - message: "Query rule Max one service of type LoadBalancer in namespace test success. (recieved) 1 == (expected) <=1" \ No newline at end of file diff --git a/test/scenarios/test/scenario_query_no_lb.yaml b/test/scenarios/test/scenario_query_no_lb.yaml deleted file mode 100644 index 639b284402..0000000000 --- a/test/scenarios/test/scenario_query_no_lb.yaml +++ /dev/null @@ -1,20 +0,0 @@ -# file path relative to project root -input: - policy: test/scenarios/policy_validate_no_loadblancer.yaml - resource: test/scenarios/resource_lb1.yaml - loadresources: - - test/scenarios/resource_ns_test.yaml -expected: - query: - policyresponse: - policy: query1 - resource: - kind: Service - apiVersion: v1 - namespace: test - name: lb1 - rules: - - name: No service of type LoadBalancer in namespace test - type: Query - success: false - message: "Query rule No service of type LoadBalancer in namespace test failed, (recieved) 1!=(expected) 0" \ No newline at end of file