From 4df4ea586fee2223519500470dee6f94602bf9fc Mon Sep 17 00:00:00 2001 From: Eric Gribkoff Date: Fri, 28 Aug 2020 13:33:45 -0700 Subject: [PATCH 1/2] remove new instance group spec, redundant with remove instance group --- doc/xds-test-descriptions.md | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/doc/xds-test-descriptions.md b/doc/xds-test-descriptions.md index c42583b2010..06c1d50af54 100644 --- a/doc/xds-test-descriptions.md +++ b/doc/xds-test-descriptions.md @@ -218,31 +218,6 @@ Test driver asserts: 1. All backends in the primary locality receive at least 1 RPC. 1. No backends in the secondary locality receive RPCs. -### new_instance_group_receives_traffic - -This test verifies that new instance groups added to a backend service in the -same zone receive traffic. - -Client parameters: - -1. --num_channels=1 -1. --qps=100 -1. --fail_on_failed_rpc=true - -Load balancer configuration: - -1. One MIG with two backends, using rate balancing mode. - -Test driver asserts: - -1. All backends receive at least one RPC. - -The test driver adds a new MIG with two backends in the same zone. - -Test driver asserts: - -1. All backends in each MIG receive at least one RPC. - ### remove_instance_group This test verifies that a remaining instance group can successfully serve RPCs From 91dc46c59f1f87b70fa487a8333070b4821923ec Mon Sep 17 00:00:00 2001 From: Eric Gribkoff Date: Fri, 28 Aug 2020 13:36:55 -0700 Subject: [PATCH 2/2] add gentle_failover spec --- doc/xds-test-descriptions.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/doc/xds-test-descriptions.md b/doc/xds-test-descriptions.md index 06c1d50af54..721b1e7414c 100644 --- a/doc/xds-test-descriptions.md +++ b/doc/xds-test-descriptions.md @@ -296,3 +296,36 @@ Assert: 1. Once all backends receive at least one RPC, the following 1000 RPCs are distributed across the 2 backends as a: 20, b: 80. +### gentle_failover + +This test verifies that traffic is partially diverted to a secondary locality +when > 50% of the instances in the primary locality are unhealthy. + +Client parameters: + +1. --num_channels=1 +1. --qps=100 + +Load balancer configuration: + +1. The primary MIG with 3 backends in the same zone as the client +1. The secondary MIG with 2 backends in a different zone + +Test driver asserts: + +1. All backends in the primary locality receive at least 1 RPC. +1. No backends in the secondary locality receive RPCs. + +The test driver stops 2 of 3 backends in the primary locality. + +Test driver asserts: + +1. All backends in the secondary locality receive at least 1 RPC. +1. The remaining backend in the primary locality receives at least 1 RPC. + +The test driver resumes the backends in the primary locality. + +Test driver asserts: + +1. All backends in the primary locality receive at least 1 RPC. +1. No backends in the secondary locality receive RPCs.