Documentation ¶
Index ¶
- func TestcaseForbidHostNetwork(ns string, kubeCli kubernetes.Interface, cli client.Client)
- func TestcaseNetworkDelay(ns string, cli client.Client, networkPeers []*corev1.Pod, ports []uint16, ...)
- func TestcaseNetworkPartition(ns string, cli client.Client, networkPeers []*corev1.Pod, ports []uint16, ...)
- func TestcasePeersCrossover(ns string, cli client.Client, networkPeers []*corev1.Pod, ports []uint16, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestcaseForbidHostNetwork ¶
func TestcaseForbidHostNetwork( ns string, kubeCli kubernetes.Interface, cli client.Client, )
TestcaseForbidHostNetwork We do NOT allow that inject chaos on a pod which uses hostNetwork
func TestcaseNetworkDelay ¶
func TestcasePeersCrossover ¶
func TestcasePeersCrossover( ns string, cli client.Client, networkPeers []*corev1.Pod, ports []uint16, c http.Client, )
This test case is for https://gitee.com/xk39/chaos-mesh/issues/1450 For example, if the source is A, B, and the target is C, D, and the direction is both, now the connection between A and B will also be affected by this chaos, this is unexpected.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.