Skip to content

Commit 353b590

Browse files
committed
Stop testing redis internal implementationd details
1 parent 64247f5 commit 353b590

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ stop_all: stop_sentinel stop_slave stop stop_cluster
3434
${TMP}:
3535
@mkdir -p $@
3636

37-
${CONF}:
38-
@touch $@
39-
4037
${BINARY}: ${TMP}
4138
@bin/build ${REDIS_BRANCH} $<
4239

@@ -47,7 +44,8 @@ stop:
4744
@$(call kill-redis,${PID_PATH});\
4845

4946
start: ${BINARY}
50-
@${BINARY} ${CONF} \
47+
@cp ${CONF} ${TMP}/redis.conf; \
48+
${BINARY} ${TMP}/redis.conf \
5149
--daemonize yes\
5250
--pidfile ${PID_PATH}\
5351
--port ${PORT}\

test/scanning_test.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,6 @@ def test_hscan_with_encoding
246246

247247
r.hmset "hash", *elements
248248

249-
assert_equal enc.to_s, r.object("encoding", "hash")
250-
251249
cursor = 0
252250
all_key_values = []
253251
loop do
@@ -345,8 +343,6 @@ def test_zscan_with_encoding
345343

346344
r.zadd "zset", elements
347345

348-
assert_equal enc.to_s, r.object("encoding", "zset")
349-
350346
cursor = 0
351347
all_key_scores = []
352348
loop do

0 commit comments

Comments
 (0)