mpExperience: prevent minitopo going bad by killing everything
This commit is contained in:
parent
30084ffa43
commit
5074bc805f
@ -79,4 +79,5 @@ class MpExperienceHTTPS(MpExperience):
|
|||||||
self.mpTopo.commandTo(self.mpConfig.client, cmd)
|
self.mpTopo.commandTo(self.mpConfig.client, cmd)
|
||||||
self.mpTopo.commandTo(self.mpConfig.server, "netstat -sn > netstat_server_after")
|
self.mpTopo.commandTo(self.mpConfig.server, "netstat -sn > netstat_server_after")
|
||||||
self.mpTopo.commandTo(self.mpConfig.client, "netstat -sn > netstat_client_after")
|
self.mpTopo.commandTo(self.mpConfig.client, "netstat -sn > netstat_client_after")
|
||||||
|
self.mpTopo.commandTo(self.mpConfig.server, "pkill -f https.py")
|
||||||
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
||||||
|
@ -81,4 +81,5 @@ class MpExperienceSiri(MpExperience):
|
|||||||
self.mpTopo.commandTo(self.mpConfig.client, cmd)
|
self.mpTopo.commandTo(self.mpConfig.client, cmd)
|
||||||
self.mpTopo.commandTo(self.mpConfig.server, "netstat -sn > netstat_server_after")
|
self.mpTopo.commandTo(self.mpConfig.server, "netstat -sn > netstat_server_after")
|
||||||
self.mpTopo.commandTo(self.mpConfig.client, "netstat -sn > netstat_client_after")
|
self.mpTopo.commandTo(self.mpConfig.client, "netstat -sn > netstat_client_after")
|
||||||
|
self.mpTopo.commandTo(self.mpConfig.server, "pkill -f siri_server.py")
|
||||||
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
||||||
|
@ -86,6 +86,6 @@ class MpExperienceVLC(MpExperience):
|
|||||||
|
|
||||||
if self.time != "0" :
|
if self.time != "0" :
|
||||||
self.mpTopo.commandTo(self.mpConfig.client, "sleep " + self.time)
|
self.mpTopo.commandTo(self.mpConfig.client, "sleep " + self.time)
|
||||||
self.mpTopo.commandTo(self.mpConfig.client, "pkill -9 vlc")
|
self.mpTopo.commandTo(self.mpConfig.client, "pkill -9 -f vlc")
|
||||||
|
|
||||||
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2")
|
||||||
|
Loading…
Reference in New Issue
Block a user