polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [2/3] zest-java git commit: SQL ES: better document test setup
Date Mon, 24 Oct 2016 11:41:19 GMT
SQL ES: better document test setup


Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/23f6bc16
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/23f6bc16
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/23f6bc16

Branch: refs/heads/develop
Commit: 23f6bc16da1d46ddfcb474c927b248a15d166e14
Parents: 47837db
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Mon Oct 24 13:32:44 2016 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Mon Oct 24 13:32:44 2016 +0200

----------------------------------------------------------------------
 .../zest/entitystore/sql/PostgreSQLEntityStoreTest.java | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/23f6bc16/extensions/entitystore-sql/src/test/java/org/apache/zest/entitystore/sql/PostgreSQLEntityStoreTest.java
----------------------------------------------------------------------
diff --git a/extensions/entitystore-sql/src/test/java/org/apache/zest/entitystore/sql/PostgreSQLEntityStoreTest.java
b/extensions/entitystore-sql/src/test/java/org/apache/zest/entitystore/sql/PostgreSQLEntityStoreTest.java
index f54b48b..9b9c915 100644
--- a/extensions/entitystore-sql/src/test/java/org/apache/zest/entitystore/sql/PostgreSQLEntityStoreTest.java
+++ b/extensions/entitystore-sql/src/test/java/org/apache/zest/entitystore/sql/PostgreSQLEntityStoreTest.java
@@ -47,11 +47,17 @@ import static org.apache.zest.test.util.Assume.assumeConnectivity;
  *
  * Use 'password' as password for the jdbc_test_login user.
  *
+ * Eventually create a database cluster:
+ *
+ * <pre>
+ * initdb -D /usr/local/pgsql/data
+ * </pre>
+ *
+ * Start PostgreSQL. Then, create test user and database:
+ *
  * <pre>
  * createuser -A -D -P -E -W jdbc_test_login
  * createdb -O jdbc_test_login -W jdbc_test_db
- * psql -d jdbc_testdb
- * CREATE EXTENSION ltree;
  * </pre>
  *
  * To clear the data:
@@ -59,8 +65,6 @@ import static org.apache.zest.test.util.Assume.assumeConnectivity;
  * <pre>
  * dropdb -W jdbc_test_db
  * createdb -O jdbc_test_login -W jdbc_test_db
- * psql -d jdbc_test_db
- * CREATE EXTENSION ltree;
  * </pre>
  *
  * To remove the test user:


Mime
View raw message