-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beginnings of a test framework #149
Merged
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
240dad6
Add help text and barebones integration test
totherme bedfd1e
Add dependencies
totherme c7957c3
Ignore goland's .idea directory
totherme 9096006
Add help text and barebones integration test
totherme 782bee8
Add dependencies
totherme 9d271bf
Add apiserver launcher to test framework
totherme 6776524
Add etcd launcher to test framework
fc5d405
Add Fixtures struct, which can start+stop everything
totherme 1714b31
Add CI for local development
totherme 8988075
Wire the test framework in to the demo tests
hoegaarden 4e870ff
Use ioutils.tempDir() to create temporary directories
hoegaarden 0dfe20e
Use http:// as etcd URL scheme
hoegaarden 8a92d31
Make Stop() wait for the processes to exit
totherme e7bb1e8
Add fixtures tintegration tests
totherme a04f002
Rework fakes to allow additional arguments
totherme 2fd15f8
Refactor Etcd
totherme 940bec8
Refactor APIServer
totherme ddd0a56
Unify fixture processes
totherme d99f3dc
Extract TempDirManager
totherme e2f4cd5
Allow more time to bring up the fixtures
hoegaarden 5d670c4
Refactor away anonymous functions in integration test
totherme d6f4cc6
Refactor Etcd and APIServer, esp. Start() and Stop()
totherme 2e5a832
Remove {Etcd,APIServer}StartStopper interfaces
totherme 11eab48
Implement first command talking to the APIServer
totherme eca5aac
Add dependencies
totherme e2a217b
Track the time it takes to start&stop the fixtures
totherme 8523ad3
Start the fixture processes in parallel
totherme 63de385
Add test option to run performance tests
hoegaarden 7df93be
Use a temporary directory for the APIServer's certs
totherme f5b7280
Make Etcd's DataDirManager interface private
totherme ff9f027
Drop privilages before running tests in CI
totherme b7cfe0f
Update comments on Start/Stop of the processes
hoegaarden c4e57df
Create nicer names for temporary directories
hoegaarden d88f71c
Change `.gitignore` strategy
hoegaarden d89f4c1
Switch to repo-global vendoring
hoegaarden 849d4f9
Switch to repo-global vendoring, move dependencies
hoegaarden ccb54d2
Make `pre-commit.sh` work with the test framework
hoegaarden 4d4026f
Make the framework test bash3 compatible
hoegaarden a304d58
Install ginkgo
hoegaarden File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there should be some sort of "default" value for
KUBE_ASSERT_DIR
and maybe we can download the binaries before runninggo test
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. I think this also ties back to making our think work well with
go test
. As soon as we have that we can retire our test wrapper scriptpkg/framework/test/scripts/run-tests.sh
and think about better ways of handling the test binaries/assets resp. their location. We in fact have all those things in our backlog.