➜ make test
======================================
Test: PING
======================================
✅ Test passed
======================================
Test: ECHO hello
======================================
✅ Test passed
======================================
Test: SET foo bar
======================================
✅ Test passed
======================================
Test: GET foo
======================================
✅ Test passed
======================================
Test: SET exp value PX 500 (in ms)
======================================
✅ Test passed
======================================
Test: GET exp (immediate)
======================================
✅ Test passed
======================================
Test: GET exp (after 500ms, should expire)
======================================
✅ Test passed
======================================
Test: SET foo bar
======================================
✅ Test passed
======================================
Test: DEL foo
======================================
✅ Test passed
======================================
Test: SET foo bar
======================================
✅ Test passed
======================================
Test: SET bar baz
======================================
✅ Test passed
======================================
Test: DEL foo bar
======================================
✅ Test passed
======================================
Test: SET foo bar
======================================
✅ Test passed
======================================
Test: EXISTS foo
======================================
✅ Test passed
======================================
Test: SET bar baz
======================================
✅ Test passed
======================================
Test: EXISTS foo bar
======================================
✅ Test passed
======================================
Test: SET foo bar
======================================
✅ Test passed
======================================
Test: SET exp value PX 100 (in ms)
======================================
✅ Test passed
======================================
Test: EXISTS foo exp
======================================
✅ Test passed
======================================
Test: SET foo bar
======================================
✅ Test passed
======================================
Test: TTL foo
======================================
✅ Test passed
======================================
Test: EXPIRE foo 2 (in seconds)
======================================
✅ Test passed
======================================
Test: TTL foo
======================================
✅ Test passed
======================================
Test: GET foo
======================================
✅ Test passed
======================================
Test: EXISTS foo
======================================
✅ Test passed
======================================
Test: TTL foo
======================================
✅ Test passed
======================================
Tests completed: 26 passed, 0 failed
======================================
-
Notifications
You must be signed in to change notification settings - Fork 0
kx0101/redis-from-scratch
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
a very simple Redis from scratch using the Redis Protocol Parser
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published