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

system tests for chimney update image #957

Open
boddumanohar opened this issue Nov 25, 2023 · 1 comment
Open

system tests for chimney update image #957

boddumanohar opened this issue Nov 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@boddumanohar
Copy link
Contributor

we should have a system tests to

				"getcontainers":          GetContainers,
				"updatecontainer":        UpdateContainer,
				"searchcontainer":        SearchContainer,

https://github.com/0chain/gosdk/blob/staging/wasmsdk/proxy.go#L183-L185

@boddumanohar
Copy link
Contributor Author

this should be done as a part of wasm system tests

the procedure for system_test can:

  1. deploy a blubber using chimney script

test:

  1. call the wasm function: getcontainers that should return all the containers on the chimney blobber
  2. call the wasm function: updatecontainer should successfully update the container with the latest staging image. This should update the container without failure.
  3. call the wasm function: searchcontainer with parameter: "blobber" should return blobber container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants