-
Notifications
You must be signed in to change notification settings - Fork 26
Integration tests to object operation handlers #229
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
Integration tests to object operation handlers #229
Conversation
# Conflicts: # code/go/0chain.net/blobbercore/convert/convert.go # code/go/0chain.net/blobbercore/handler/grpc_handler_helper_unit_test.go # code/go/0chain.net/blobbercore/handler/grpc_handler_integration_test.go
| path := strings.Split(root, `code`) | ||
|
|
||
| f, err := os.Create(path[0] + `docker.local/blobber1/files/files/exa/mpl/eId/objects/tmp/Mon/Wen/MyFile`) | ||
| if err != nil { |
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.
create /tmp dir dont use docker.local
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.
we cannot add it outside the docker.local because it is hardcoded in blobber application to get it from there
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.
please link the file where its hardcoded, I couldnt find
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.
it is mounted as volume in b0docker-compose.yml. And passed it as a flag. In main.go, it ie set to FsStore. line 134 in main.go
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.
@senpathi remove this chmod
code/go/0chain.net/blobbercore/handler/grpc_handler_integration_test.go
Outdated
Show resolved
Hide resolved
code/go/0chain.net/blobbercore/handler/grpc_handler_integration_test.go
Outdated
Show resolved
Hide resolved
code/go/0chain.net/blobbercore/handler/grpc_handler_integration_test.go
Outdated
Show resolved
Hide resolved
| path := strings.Split(root, `code`) | ||
|
|
||
| f, err := os.Create(path[0] + `docker.local/blobber1/files/files/exa/mpl/eId/objects/tmp/Mon/Wen/MyFile`) | ||
| if err != nil { |
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.
@senpathi remove this chmod
relates to #216
integration tests to