'This will test the scenario where a port is removed after listing
it but before getting vif info about it.'

def test_noresync_after_port_gone(self):

    self.ports = self.create_test_ports(amount=2)
    self.agent = self.create_agent(create_tunnels=False)
    self.network = self._create_test_network_dict()
    self._plug_ports(self.network, self.ports, self.agent)
    self.start_agent(self.agent, ports=self.ports, unplug_ports=[self.ports[1]])
    self.wait_until_ports_state([self.ports[0]], up=True)
    self.assertRaises(utils.WaitTimeout, self.wait_until_ports_state, [self.ports[1]], up=True, timeout=10)
