================ @@ -185,6 +185,8 @@ def setUpServerLogging(self, is_llgs): ] def get_next_port(self): + if available_ports := self.getPlatformAvailablePorts(): + return int(random.choice(available_ports)) ---------------- DavidSpickett wrote:
Once a test chooses a port, other tests can still choose that port. Is that a problem? https://github.com/llvm/llvm-project/pull/112555 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits