Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-2158

Simplify and speed up core e2e tests and functional.

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Log Collection
    • Logging (Core) - Sprint 213, Logging (Core) - Sprint 214, Logging (Core) - Sprint 215, Logging (Core) - Sprint 216

      Make the following improvements to functional and e2e tests:

      • All tests can be run directly using `go test` using all the normal mechanisms for selecting tests to run (make still has convenience targets) e.g.:
        • go test tests/e2e/logforwarding/....
        • cd tests/e22/logforwarding/fluent; go test -run "simple"
      • Each individual test establishes its own requirements, with the following assumptions:
        • Assume the operator is deployed, do not undeploy or re-deploy it.
        • Assume some other test may have previously have started and failed, and left side-effects behind in namespace/openshift-logging.
        • Force cleanup and re-establish any state required in namespace/openshift-logging, e.g. CL, CLF, collector deployments etc.
        • Create all other resources in a private, uniquely-named namespace

      Additional cleanup of tests:

      • Use common test client framework (test/client, test/runtime)
      • Eliminate redundant code and overlaps in test/e2e framework
      • Eliminate or combine overlapping tests where possible without losing coverage.

            rhn-engineering-aconway Alan Conway
            rhn-engineering-aconway Alan Conway
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: