Skip to content

Commit 026d5e4

Browse files
authored
Address Gears test fail - Cleanup Function libraries (#3840)
* Check Gears test fail * Check modules package * Revert all changes in Makefile * Cleanup Function libraries
1 parent 7aad706 commit 026d5e4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Diff for: src/test/java/redis/clients/jedis/commands/commandobjects/CommandObjectsTriggersAndFunctionsCommandsTest.java

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77

88
import java.util.ArrayList;
99
import java.util.List;
10-
10+
import org.junit.After;
1111
import org.junit.Test;
12+
1213
import redis.clients.jedis.RedisProtocol;
14+
import redis.clients.jedis.exceptions.JedisDataException;
1315
import redis.clients.jedis.gears.TFunctionListParams;
1416
import redis.clients.jedis.gears.TFunctionLoadParams;
1517
import redis.clients.jedis.gears.resps.GearsLibraryInfo;
@@ -23,6 +25,13 @@ public CommandObjectsTriggersAndFunctionsCommandsTest(RedisProtocol protocol) {
2325
super(protocol);
2426
}
2527

28+
@After
29+
public void tearDown() throws Exception {
30+
try {
31+
exec(commandObjects.tFunctionDelete("lib"));
32+
} catch (JedisDataException de) { }
33+
}
34+
2635
@Test
2736
public void testTFunctionLoadAndCall() {
2837
String libraryCode = "#!js api_version=1.0 name=lib\n" +

0 commit comments

Comments
 (0)