Permalink
Browse files

update AWS credential environment name in tests

  • Loading branch information...
liebke committed Dec 8, 2011
1 parent 0fe03c7 commit 79b445d3d74a5fa7a897871e059a73443409f16d
@@ -45,6 +45,7 @@
(.destroyStateContainer atomState))
avout.atoms.AtomReference
+
(compareAndSet [this old-value new-value]
(atoms/validate @validator new-value)
(sdb/put-attributes client domainName nodeName
@@ -54,8 +54,8 @@
(deftest write-skew
(let [run-count 100
max-threads 10
- ACCESS-KEY (get (System/getenv) "ACCESS_KEY")
- SECRET-KEY (get (System/getenv) "SECRET_KEY")
+ ACCESS-KEY (get (System/getenv) "AWS_ACCESS_KEY")
+ SECRET-KEY (get (System/getenv) "AWS_SECRET_KEY")
_ (println "'" ACCESS-KEY "' : '" SECRET-KEY "'")
sdb (sdb-client ACCESS-KEY SECRET-KEY)
a (sdb-atom sdb "test-domain" "/a-test" [])
@@ -55,8 +55,8 @@
(let [run-count 100
max-threads 10
client (connect "127.0.0.1")
- ACCESS-KEY (get (System/getenv) "ACCESS_KEY")
- SECRET-KEY (get (System/getenv) "SECRET_KEY")
+ ACCESS-KEY (get (System/getenv) "AWS_ACCESS_KEY")
+ SECRET-KEY (get (System/getenv) "AWS_SECRET_KEY")
_ (println "'" ACCESS-KEY "' : '" SECRET-KEY "'")
sdb (sdb-client ACCESS-KEY SECRET-KEY)
a (zk-sdb-atom client sdb "test-domain" "/a-test" [])

0 comments on commit 79b445d

Please sign in to comment.