Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chandra Pamuluri committed Mar 31, 2023
1 parent 51283ba commit a10d7c5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/e2e/plugin_sync/plugin_sync_lifecycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

var _ = framework.CLICoreDescribe("[Tests:E2E][Feature:Plugin-Group-lifecycle]", func() {

// Use case 1: create a KIND cluster, don't apply CRD and CRs
// Use case 1: create a KIND cluster, don't apply CRD and CRs, create context, make sure no plugins are installed
// a. create k8s context for the KIND cluster
// b. create context and validate current active context
// c. list plugins and make sure no plugins installed
Expand Down Expand Up @@ -56,7 +56,7 @@ var _ = framework.CLICoreDescribe("[Tests:E2E][Feature:Plugin-Group-lifecycle]",
})
})

// Use case 2: Create context, should install all plugins, uninstall the specific plugin, and perform plugin sync:
// Use case 2: Create kind cluster, apply CRD and CRs, create context, should install all plugins, uninstall the specific plugin, and perform plugin sync:
// Steps:
// a. create KIND cluster, apply CRD
// b. apply CRD (cluster resource definition) and CR's (cluster resource) for few plugins
Expand Down Expand Up @@ -135,7 +135,7 @@ var _ = framework.CLICoreDescribe("[Tests:E2E][Feature:Plugin-Group-lifecycle]",
Expect(err).To(BeNil(), "kind cluster should be deleted without any error")
})
})
// Use case 3: test plugin sync when central repo does not have all plugin CRs being applied in KIND cluster
// Use case 3: Test plugin sync when central repo does not have all plugin CRs being applied in KIND cluster
// Steps:
// a. create KIND cluster
// b. apply CRD (cluster resource definition) and CR's (cluster resource) for few plugins which are available in centra repo and CR's for plugins which are not available in central repo
Expand Down Expand Up @@ -210,7 +210,7 @@ var _ = framework.CLICoreDescribe("[Tests:E2E][Feature:Plugin-Group-lifecycle]",
})
})

// Use case 4: test delete context use case
// Use case 4: test delete context use case, it should uninstall plugins installed for the context
// Steps:
// a. create KIND cluster
// b. apply CRD (cluster resource definition) and CR's (cluster resource) for few plugins
Expand Down Expand Up @@ -269,7 +269,7 @@ var _ = framework.CLICoreDescribe("[Tests:E2E][Feature:Plugin-Group-lifecycle]",
})
})

// Use case 5: test switch context use case, make installed cluster are updated as per the context
// Use case 5: test switch context use case, make installed plugins should be updated as per the context
// Steps:
// a. create KIND clusters
// b. for both clusters, apply CRD (cluster resource definition) and CR's (cluster resource) for few plugins
Expand Down

0 comments on commit a10d7c5

Please sign in to comment.