Skip to content

Conversation

@senpathi
Copy link
Contributor

relates to #216

integration tests to

  • update attributes handler
  • copy handler
  • rename handler
  • download handler

@senpathi senpathi changed the title update attributes handler integrated tests implemented [WIP] - integration tests to object operation handlers Jun 28, 2021
@senpathi senpathi added the grpc label Jun 28, 2021
@senpathi senpathi changed the title [WIP] - integration tests to object operation handlers Integration tests to object operation handlers Jun 28, 2021
# 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 {
Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@senpathi remove this chmod

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 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@senpathi remove this chmod

@shravanshetty1 shravanshetty1 merged commit fe6bba1 into 0chain:grpc Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants