gluster/glusto-tests

Glusto tests do not support running on nightly Gluster upstream bits

Closed this issue · 1 comments

    def get_gluster_version(host):
        """Checks the gluster version on the nodes
   
        Args:
            host(str): IP of the host whose gluster version has to be checked.
   
        Returns:
            (float): The gluster version value.
        """
        command = 'gluster --version'
        _, out, _ = g.run(host, command)
        g.log.info("The Gluster verion of the cluster under test is %s",
                   out)
>       return float(out.split(' ')[1])
E       ValueError: could not convert string to float: '20200719.9334a8d\nRepository

We now have a new branch for https://github.com/gluster/glusto-tests/tree/pre_glusterfs_6_0, so we can go ahead and remove get_gluster_version() checks from the code.