You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2014/10/30 16:37:41 UTC
git commit: add variable check
Repository: incubator-usergrid
Updated Branches:
refs/heads/two-dot-o 0bfca7e39 -> e79fec001
add variable check
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/e79fec00
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/e79fec00
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/e79fec00
Branch: refs/heads/two-dot-o
Commit: e79fec001c86d95678cc116bfbee1831c563c732
Parents: 0bfca7e
Author: Shawn Feldman <sf...@apache.org>
Authored: Thu Oct 30 09:37:11 2014 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Thu Oct 30 09:37:11 2014 -0600
----------------------------------------------------------------------
stack/loadtests/src/main/scripts/gatling-mvn.sh | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/e79fec00/stack/loadtests/src/main/scripts/gatling-mvn.sh
----------------------------------------------------------------------
diff --git a/stack/loadtests/src/main/scripts/gatling-mvn.sh b/stack/loadtests/src/main/scripts/gatling-mvn.sh
index 531a638..e9087d5 100644
--- a/stack/loadtests/src/main/scripts/gatling-mvn.sh
+++ b/stack/loadtests/src/main/scripts/gatling-mvn.sh
@@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+
+[ "$#" -eq 6 ] || die "6 arguments required, $# provided. Arguments are URL ORG APP NOTIFIERNAME NUM_USERS RAMP_TIME"
+
URL="$1"
ORG="$2"
APP="$3"