You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to implement e2e tests for solo cluster command. The test suite should create its own cluster in beforeAll() assuming kind is available on the machine:
TODO
Create a new e2e test suite called: test/e2e/commands/cluster.test.mjs (remove other sequence number from other test files)
We shall run it in its own cluster, e.g. solo-test-cluster-cmd
Implement the e2e following structure as below:
describe('ClusterCommand` () => {
beforeAll(async() => {
await clusterCmd.Run('kind create cluster -n ${cluster-name})
)
afterAll(async() => {
await clusterCmd.Run('kind delete cluster -n ${cluster-name})
})
it('solo cluster setup should fail with invalid cluster name', () => {
})
it('solo cluster setup should work with valid args', () => {
})
it('solo cluster reset should fail with invalid cluster name', () => {
})
it('solo cluster reset should work with valid args', () => {
})
})
Also please update DEV.md saying that kind is required for development.
The text was updated successfully, but these errors were encountered:
Instead of creating cluster, we should just bootstrapNetwork in a new namespace. This is to reduce test execution time as a new cluster would take a while to load all the images. See the pattern here: https://github.com/hashgraph/solo/pull/159
We need to implement e2e tests for
solo cluster
command. The test suite should create its own cluster inbeforeAll()
assumingkind
is available on the machine:TODO
test/e2e/commands/cluster.test.mjs
(remove other sequence number from other test files)solo-test-cluster-cmd
DEV.md
saying thatkind
is required for development.The text was updated successfully, but these errors were encountered: