Skip to content

Instantly share code, notes, and snippets.

@jcrossley3
Created October 12, 2018 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcrossley3/93e35141d827c6633dc07e99b9efafe0 to your computer and use it in GitHub Desktop.
Save jcrossley3/93e35141d827c6633dc07e99b9efafe0 to your computer and use it in GitHub Desktop.
[jim@localhost build]$ go test -v -tags=e2e -count=1 ./test/e2e/... -run ^TestInvalid
info logging/config.go:38 Successfully created the logger. {"knative.dev/jsonconfig": "{\n\t \"level\": \"info\",\n\t \"encoding\": \"console\",\n\t \"outputPaths\": [\"stdout\"],\n\t \"errorOutputPaths\": [\"stderr\"],\n\t \"encoderConfig\": {\n\t \"messageKey\": \"message\",\n\t\t\t\"levelKey\": \"level\",\n\t\t\t\"nameKey\": \"logger\",\n\t\t\t\"callerKey\": \"caller\",\n\t\t\t\"messageKey\": \"msg\",\n \"stacktraceKey\": \"stacktrace\",\n \"lineEnding\": \"\",\n \"levelEncoder\": \"\",\n \"timeEncoder\": \"\",\n \"durationEncoder\": \"\",\n \"callerEncoder\": \"\"\n\t }\n\t}"}
info logging/config.go:38 Logging level set to info
info TestSetup e2e/e2e.go:95 Created namespace "build-tests"
=== RUN TestInvalidBuild
--- FAIL: TestInvalidBuild (0.23s)
invalid_test.go:83: Expected error creating invalid build "name.contains.dots", got nil
invalid_test.go:83: Expected error creating invalid build "no-steps", got nil
invalid_test.go:83: Expected error creating invalid build "negative-timeout", got nil
invalid_test.go:83: Expected error creating invalid build "too-long-timeout", got nil
FAIL
info TestSetup e2e/e2e.go:49 Deleting namespace "build-tests"
FAIL github.com/knative/build/test/e2e 10.377s
[jim@localhost build]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment