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 network 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/network.test.mjs (remove other sequence number from other test files)
We shall run it in its own cluster, e.g. solo-test-network-cmd
Implement the e2e following structure as below:
describe('NetworkCommand` () => {
beforeAll(async() => {
await networkCmd.Run('kind create cluster -n ${cluster-name})
await clusterCmd.setup(argv)
)
afterAll(async() => {
await networkCmd.Run('kind delete cluster -n ${cluster-name})
})
it('solo network deploy should deploy three network nodes with defaults', () => {
// no need to add support for ssl for now. So this should test `solo network deploy`
})
it('solo network destroy should destroy deployed network', () => {
// this should tests `solo network deploy --delete-pvcs`
})
})
The text was updated successfully, but these errors were encountered:
We need to implement e2e tests for
solo network
command. The test suite should create its own cluster inbeforeAll()
assumingkind
is available on the machine:TODO
test/e2e/commands/network.test.mjs
(remove other sequence number from other test files)solo-test-network-cmd
The text was updated successfully, but these errors were encountered: