Code Review
/
oom
/
registrator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7780897
)
add ut for removePod of msb
87/34187/1
author
Lvbo163
<lv.bo163@zte.com.cn>
Tue, 6 Mar 2018 02:50:40 +0000
(10:50 +0800)
committer
Lvbo163
<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
patch
|
blob
|
history
diff --git
a/src/kube2msb/msb_work_test.go
b/src/kube2msb/msb_work_test.go
index
c3602a1
..
d234a38
100644
(file)
--- 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\",}"},