idugan100 / GoKV

Redis compatible key value store written in go
MIT License
1 stars 1 forks source link

redis stand alone mode compatibilty test suite (v1.0.0) #21

Open idugan100 opened 5 months ago

idugan100 commented 5 months ago

https://github.com/tair-opensource/compatibility-test-suite-for-redis

idugan100 commented 4 months ago

I ran this command python3 redis_compatibility_test.py --testfile cts.json --host 127.0.0.1 --port 6379 --specific-version 1.0.0 --show-failed

and got this result FailedTest(name='renamenx command', reason=ResponseError('command not found')) FailedTest(name='ttl command', reason=ResponseError('command not found')) FailedTest(name='pttl command', reason=ResponseError('command not found')) FailedTest(name='expire command', reason=ResponseError('command not found')) FailedTest(name='keys command', reason=ResponseError('command not found')) FailedTest(name='move command', reason=ResponseError('command not found')) FailedTest(name='type command', reason=ResponseError('command not found')) FailedTest(name='sort command', reason=ResponseError('command not found')) FailedTest(name='lindex command', reason=ResponseError('command not found')) FailedTest(name='llen command', reason=ResponseError('command not found')) FailedTest(name='lpop command', reason=ResponseError('command not found')) FailedTest(name='lpush command', reason=ResponseError('command not found')) FailedTest(name='lrange command', reason=ResponseError('command not found')) FailedTest(name='lrem command', reason=ResponseError('command not found')) FailedTest(name='lset command', reason=ResponseError('command not found')) FailedTest(name='ltrim command', reason=ResponseError('command not found')) FailedTest(name='rpop command', reason=ResponseError('command not found')) FailedTest(name='rpush command', reason=ResponseError('command not found')) FailedTest(name='sadd command', reason=ResponseError('command not found')) FailedTest(name='scard command', reason=ResponseError('command not found')) FailedTest(name='sdiff command', reason=ResponseError('command not found')) FailedTest(name='sdiffstore command', reason=ResponseError('command not found')) FailedTest(name='sinter command', reason=ResponseError('command not found')) FailedTest(name='sinterstore command', reason=ResponseError('command not found')) FailedTest(name='sismember command', reason=ResponseError('command not found')) FailedTest(name='smembers command', reason=ResponseError('command not found')) FailedTest(name='smove command', reason=ResponseError('command not found')) FailedTest(name='spop command', reason=ResponseError('command not found')) FailedTest(name='srandmember command', reason=ResponseError('command not found')) FailedTest(name='srem command', reason=ResponseError('command not found')) FailedTest(name='sunion command', reason=ResponseError('command not found')) FailedTest(name='sunionstore command', reason=ResponseError('command not found')) FailedTest(name='decrby command', reason=ResponseError('command not found')) FailedTest(name='incrby command', reason=ResponseError('command not found')) FailedTest(name='mget command', reason=ResponseError('command not found')) FailedTest(name='substr command', reason=ResponseError('command not found')) FailedTest(name='dbsize command', reason=ResponseError('command not found')) FailedTest(name='flushdb command', reason=ResponseError('command not found')) pass rate of 24%. I will keep this open and update as I make progress toward 1.0.0 parity

idugan100 commented 4 months ago

26% with pr #25

image
idugan100 commented 4 months ago

28% with #37

idugan100 commented 4 months ago

34% with #50

image
idugan100 commented 3 months ago

36% with #51

image
idugan100 commented 3 months ago

44% with #53

image

The reason this is such a big jump is that some command that I had already implemented were tested in the compatibility suite with LRANGE and failed because LRANGE was missing not the other command.

idugan100 commented 3 months ago

46% with pr #54

idugan100 commented 3 months ago

48% with pr #55

image
idugan100 commented 3 months ago

50% with pr #56

image
idugan100 commented 2 months ago

54% with #58

image