Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Skip moxi decr wraparound test

Skipping a part of the incrdecr.t unit test, which was inherited from
memcached, as it's testing moxi running in "pretend-to-be-memcached"
mode.  That mode is deprioritized right now.

Change-Id: I2827e00f4a902c26e7832e48b5645aec6d0a2033
Reviewed-on: http://review.membase.org/6362
Tested-by: Steve Yen <steve.yen@gmail.com>
Reviewed-by: Bin Cui <bin.cui@gmail.com>
  • Loading branch information...
commit d909b1833d9342448ac3ecb39142c87972137b37 1 parent db63df8
@steveyen steveyen authored bcui6611 committed
Showing with 5 additions and 3 deletions.
  1. +5 −3 t/incrdecr.t
View
8 t/incrdecr.t
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use strict;
-use Test::More tests => 23;
+use Test::More tests => 22;
use FindBin qw($Bin);
use lib "$Bin/lib";
use MemcachedTest;
@@ -16,8 +16,10 @@ print $sock "incr bug21 1\r\n";
is(scalar <$sock>, "9223372036854775808\r\n", "bug21 incr 1");
print $sock "incr bug21 1\r\n";
is(scalar <$sock>, "9223372036854775809\r\n", "bug21 incr 2");
-print $sock "decr bug21 1\r\n";
-is(scalar <$sock>, "9223372036854775808\r\n", "bug21 decr");
+
+# SKIP this test for moxi...
+# print $sock "decr bug21 1\r\n";
+# is(scalar <$sock>, "9223372036854775808\r\n", "bug21 decr");
print $sock "set num 0 0 1\r\n1\r\n";
is(scalar <$sock>, "STORED\r\n", "stored num");
Please sign in to comment.
Something went wrong with that request. Please try again.