bookingcom / shipper

Kubernetes native multi-cluster canary or blue-green rollouts using Helm
Apache License 2.0
733 stars 39 forks source link

Implemented an e2e test reproducing the traffic shifting bug #232

Closed osdrv closed 5 years ago

osdrv commented 5 years ago

This commit implements an e2e test that reproduces the problem with traffic label shifting observed in shipper 0.7. The scenario it replays:

  1. Create an application
  2. Create first release with 0 replicas and set it to full on
  3. Create second release with 2 replicas and set it to full-on
  4. Inspect the active pods: only 1 pod will contain traffic:enabled label, but both pods are expected to be active

Signed-off-by: Oleg Sidorov oleg.sidorov@booking.com