Esempio n. 1
0
def test_match_endpoints():
  """Verify that cloud endpoint service names match the regex"""

  service_names = [
    "iap-ingress-kfctl-8c9b.endpoints.kubeflow-ci-deployment.cloud.goog",
  ]

  for s in service_names:
    assert cleanup_ci.is_match(s, patterns=cleanup_ci.E2E_PATTERNS)
Esempio n. 2
0
def test_match_disk():
  pvc = "gke-zresubmit-unittest-pvc-e3bf5be4-987b-11e9-8266-42010a8e00e9"
  assert cleanup_ci.is_match(pvc, patterns=cleanup_ci.E2E_PATTERNS)