[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Writing integration tests



Pull https://github.com/openshift/origin/pull/1092 changes how hack/test-integration.sh and hack/test-integration-docker.sh run. Each "Test*" function will be executed in its own process, so there is no possibility of overlap between still running go routines.

What this means:

* When you write new integration tests, you don't need to shutdown servers or master processes
* You can no longer run simple `go test` against test/integration and expect it to work - you'll need to pass -test.run=... to run only a single test at a time.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]