def _inner_health()

in integration_tests/gaudi/conftest.py [0:0]


    def _inner_health(self) -> bool:
        try:
            container = self.docker_client.containers.get(self.container_name)
            status = container.status
            if status not in ["running", "created"]:
                logger.warning(f"Container status is {status}")
                # Get container logs for debugging
                logs = container.logs().decode("utf-8")
                logger.debug(f"Container logs:\n{logs}")
                return False
            return True
        except Exception as e:
            logger.error(f"Error checking container health: {str(e)}")
            return False