add ut for removePod of msb 87/34187/1
authorLvbo163 <lv.bo163@zte.com.cn>
Tue, 6 Mar 2018 02:50:40 +0000 (10:50 +0800)
committerLvbo163 <lv.bo163@zte.com.cn>
Tue, 6 Mar 2018 02:50:40 +0000 (10:50 +0800)
Issue-ID: MSB-176

Change-Id: Iacf002a7ebda635989320a81be83700ec30bcf37
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
src/kube2msb/msb_work_test.go

index c3602a1..d234a38 100644 (file)
@@ -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\",}"},