mirror of https://github.com/chaos-mesh/chaosd.git
make check
Signed-off-by: root <root@localhost.localdomain>
This commit is contained in:
parent
f4e1f422fa
commit
8db22b3046
|
@ -130,7 +130,7 @@ func TestPatitionChain(t *testing.T) {
|
|||
},
|
||||
}
|
||||
for _, tc := range testCases {
|
||||
chains, err := tc.cmd.AdditionalChain("test")
|
||||
chains, err := tc.cmd.AdditionalChain("test", "3c5528e1-4c32-4f80-983c-913ad7e860e2")
|
||||
if err != nil {
|
||||
t.Errorf("failed to partition chain: %v", err)
|
||||
}
|
||||
|
|
|
@ -190,7 +190,7 @@ func (s *Server) applyTC(attack *core.NetworkCommand, ipset string, uid string)
|
|||
}
|
||||
|
||||
tcs = append(tcs, newTC)
|
||||
|
||||
|
||||
if _, err := s.svr.SetTcs(context.Background(), &pb.TcsRequest{Tcs: tcs, EnterNS: false}); err != nil {
|
||||
return perrors.WithStack(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue