Skip to content
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

Failing test on OSX #9

Closed
Skarlso opened this issue Jul 8, 2018 · 3 comments
Closed

Failing test on OSX #9

Skarlso opened this issue Jul 8, 2018 · 3 comments

Comments

@Skarlso
Copy link
Member

Skarlso commented Jul 8, 2018

~/golang/src/github.com/gaia-pipeline/gaia makefile_refactor 6s
❯ go test ./...
?   	github.com/gaia-pipeline/gaia	[no test files]
?   	github.com/gaia-pipeline/gaia/cmd/gaia	[no test files]
?   	github.com/gaia-pipeline/gaia/handlers	[no test files]
ok  	github.com/gaia-pipeline/gaia/pipeline	8.290s
?   	github.com/gaia-pipeline/gaia/plugin	[no test files]
ok  	github.com/gaia-pipeline/gaia/scheduler	0.016s
--- FAIL: TestUserAuth (0.01s)
	store_test.go:153: crypto/bcrypt: hashedPassword is not the hash of the given password
FAIL
cannot remove data folder: remove data: directory not empty
FAIL	github.com/gaia-pipeline/gaia/store	0.026s

This is a pin for later investigation. Osx, just doing go test ./....

@Skarlso
Copy link
Member Author

Skarlso commented Jul 8, 2018

It requires an installed Bolt db with admin admin as a user.

@Skarlso
Copy link
Member Author

Skarlso commented Jul 8, 2018

This needs to be refactored to use a dependency injected database mock.

@Skarlso
Copy link
Member Author

Skarlso commented Jul 8, 2018

Nope it was an invalid test case. See #14.

@Skarlso Skarlso closed this as completed Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant