Add retry decorator for tests failing due to traffic not passing

Some traffic-related tests intermittently failed in Kubernetes
environments due to port conflicts with other services on the host.
This patch introduces a retry decorator that increments the port
number and retries the test a configurable number of times.

Change-Id: I63d7f8aec934bc995a8f1b6546fc12bf273d84aa
3 files changed