Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid expire time in set #13

Open
dzieciou opened this issue Feb 18, 2019 · 0 comments
Open

invalid expire time in set #13

dzieciou opened this issue Feb 18, 2019 · 0 comments

Comments

@dzieciou
Copy link

dzieciou commented Feb 18, 2019

For redis 3.2.0 calling set_to_redis with expire_time not defined or equal to 0 fails with the following error:

invalid expire time in set

Removing expire_time from redis_conn.set call resolves the issue.

def set_to_redis(self, redis_conn, key, data):
        """ Set data to Redis
        Arguments:
            - redis_conn: Redis connection object
            - key: String keyword to find.
            - data: String data
        Examples:
        | ${data}=   | Set To Redis |  ${redis_conn} | BARCODE|1234567890 | ${data}  |
        """
        return redis_conn.set(key, data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant