We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0833423 commit 8eb3e26Copy full SHA for 8eb3e26
src/com/danga/MemCached/test/UnitTests.java
@@ -103,7 +103,7 @@ public static void test10() {
103
104
public static void test11() {
105
mc.set( "foo", new Integer( 100 ), new Date( System.currentTimeMillis() ));
106
- Thread.sleep( 1000 );
+ try { Thread.sleep( 1000 ); } catch ( Exception ex ) { }
107
assert mc.get( "foo" ) != null;
108
}
109
@@ -121,7 +121,7 @@ public static void test13() {
121
Date d1 = new Date();
122
mc.set("foo", d1);
123
Date d2 = (Date) mc.get("foo");
124
- assert d.equals( d2 );
+ assert d1.equals( d2 );
125
126
127
public static void test14() {
0 commit comments