-
Notifications
You must be signed in to change notification settings - Fork 2
Conversation
ping @Xuanwo to add integration tests in teamcity. |
Oh, we have not set up gdrive tests before, I need some time to figure it out. |
ping @junaire , I run the integration tests with the following error: When Read a file
The error should be nil ✘ storager.go:56: delete: Storager gdrive {Name: demo, WorkDir: /41205f59-f648-43bf-8e3f-2d8344b8c7e5}, [16756b17-ab73-49e4-807b-3f71a6216178]: unexpected: googleapi: Error 400: Invalid Value, invalid
✔
The content should be match ✔✘ storager.go:56: delete: Storager gdrive {Name: demo, WorkDir: /41205f59-f648-43bf-8e3f-2d8344b8c7e5}, [dc7a65cb-7d32-4eb9-964b-e1387512ee8c]: unexpected: googleapi: Error 400: Invalid Value, invalid
✔
When Write a file
The first returned error should be nil ✔^CFAIL github.com/beyondstorage/go-service-gdrive/tests 9.718s
make: *** [Makefile:35: integration_test] Error 1 Do you know why? Is there anything is configured in wrong? |
Sorry but the error message you gave is too general, I don't know where is wrong. Can you please put more information about where is wrong? Can you please describe how you run the tests? How can I see the tests content? BTW, here is a known bug about gdrive service I didn't have time to fix:
We forgot to set
I'm not sure if this is the point. |
.gitignore
Outdated
bin/ No newline at end of file | ||
bin/ | ||
|
||
# Jetbrain IED | ||
.idea | ||
*.iml |
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.
Hello, I don't think we should ignore these things in specific projects. If you don't want to mess up the code base, you can ignore these editor and IDE things globally.
For example:
$ git config --global core.excludesfile ~/.gitignore_global
Then you can ignore these things in ~/.gitignore_global
It seems like that, our integration tests will write a file and delete. Can you running |
Here I put part of the result of the integration tests:
|
I will fix this later |
I create an issue #25 for it, we will continue this PR after the issue has been solved. |
ci: Cleanup Service Integration Tests