[ARVADOS] created: bc28c05ccb4ff675a3bed9267c596497456b166d
git at public.curoverse.com
git at public.curoverse.com
Thu Apr 17 14:53:26 EDT 2014
at bc28c05ccb4ff675a3bed9267c596497456b166d (commit)
commit bc28c05ccb4ff675a3bed9267c596497456b166d
Author: Tim Pierce <twp at curoverse.com>
Date: Thu Apr 17 14:53:58 2014 -0400
Adding "loadtest" script to run ab tests against keep.
Makefile to encourage building a keep binary in a ./bin directory
(which is ignored by git to prevent accidentally checking it in).
Refs #2580.
diff --git a/.gitignore b/.gitignore
index 8cf65b5..438a8e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ sdk/perl/MYMETA.*
sdk/perl/Makefile
sdk/perl/blib/*
sdk/perl/pm_to_blib
+services/keep/bin
diff --git a/services/keep/Makefile b/services/keep/Makefile
new file mode 100644
index 0000000..7ee2c2a
--- /dev/null
+++ b/services/keep/Makefile
@@ -0,0 +1,14 @@
+KEEP_BIN = ./bin/keep
+
+SRC = keep.go
+TEST_SRC = keep_test.go
+
+all: $(KEEP_BIN)
+
+$(KEEP_BIN):
+ go build
+ mkdir -p ./bin
+ mv keep $(KEEP_BIN)
+
+test: $(SRC) $(TEST_SRC)
+ go test
diff --git a/services/keep/loadtest b/services/keep/loadtest
new file mode 100755
index 0000000..7a8bda3
--- /dev/null
+++ b/services/keep/loadtest
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+# Download file to test installation
+curl -o hu599905_20120417214030.csv https://my.pgp-hms.org/user_file/download/393
+
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list