diff options
author | Lvbo163 <lv.bo163@zte.com.cn> | 2018-03-06 10:50:40 +0800 |
---|---|---|
committer | Lvbo163 <lv.bo163@zte.com.cn> | 2018-03-06 10:50:40 +0800 |
commit | e25b8ef306bb1a8beb649ef3d30138f8a4528bda (patch) | |
tree | 2c87335c54bdee539f68a6cf6dfb05ddeca0d22d | |
parent | 778089700e2bcd51877b8793f86b7589bad5da4e (diff) |
add ut for removePod of msb
Issue-ID: MSB-176
Change-Id: Iacf002a7ebda635989320a81be83700ec30bcf37
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
-rw-r--r-- | src/kube2msb/msb_work_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kube2msb/msb_work_test.go b/src/kube2msb/msb_work_test.go index c3602a1..d234a38 100644 --- a/src/kube2msb/msb_work_test.go +++ b/src/kube2msb/msb_work_test.go @@ -152,6 +152,10 @@ func TestRemoveServiceMsb(t *testing.T) { removeServiceOrPodTest(t, "Service") } +func TestRemovePodMsb(t *testing.T) { + removeServiceOrPodTest(t, "Pod") +} + func TestMergeIP(t *testing.T) { cases := []struct{ ip, sInfo, want string }{ {"127.0.0.1", "{}", "{\"ip\":\"127.0.0.1\",}"}, |