Fix "edb test" crash when all tests require no server connection
@@ -251,6 +251,7 @@ class SequentialTestSuite(unittest.TestSuite):
self.stop_requested = False
def run(self, result):
+ if self.server_conns:
server_addr = next(iter(self.server_conns))
cluster = edgedb_cluster.RunningCluster(**server_addr)
tb._set_default_cluster(cluster)
