aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/benches/sub_quit_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/benches/sub_quit_test.js')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/benches/sub_quit_test.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/benches/sub_quit_test.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/benches/sub_quit_test.js
deleted file mode 100644
index ad1f4132..00000000
--- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/benches/sub_quit_test.js
+++ /dev/null
@@ -1,18 +0,0 @@
-var client = require("redis").createClient(),
- client2 = require("redis").createClient();
-
-client.subscribe("something");
-client.on("subscribe", function (channel, count) {
- console.log("Got sub: " + channel);
- client.unsubscribe("something");
-});
-
-client.on("unsubscribe", function (channel, count) {
- console.log("Got unsub: " + channel + ", quitting");
- client.quit();
-});
-
-// exercise unsub before sub
-client2.unsubscribe("something");
-client2.subscribe("another thing");
-client2.quit();