Skip to content

Commit

Permalink
fix(docker): disable use_tunnel in RemoteBrowser
Browse files Browse the repository at this point in the history
since our monitoring node in docker backend isn't a real
instance, we don't need the tunneling, and we can run
it locally as is

some nemesis code it decorated with functions
that generate grafana screenshots, hence we need
this fixed
  • Loading branch information
fruch committed Apr 1, 2024
1 parent a30e17c commit 5014b13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdcm/utils/remotewebbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ def web_driver_docker_client(self) -> Optional[DockerClient]:
class RemoteBrowser:
def __init__(self, node, use_tunnel=True):
self.node = node
self.use_tunnel = bool(self.node.ssh_login_info and use_tunnel)
backend = self.node.parent_cluster.params.get("cluster_backend")
self.use_tunnel = bool(self.node.ssh_login_info and use_tunnel and backend not in ('docker',))

@cached_property
def browser(self):
Expand Down

0 comments on commit 5014b13

Please sign in to comment.