[Groonga-commit] groonga/gcs [master] Update test f-r gcs-delete-domain to specify host and port

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Oct 15 16:58:11 JST 2012


YUKI Hiroshi	2012-10-15 16:58:11 +0900 (Mon, 15 Oct 2012)

  New Revision: db43f950b9f90eb1141a6dc5fb3b7b69b9d4d97b
  https://github.com/groonga/gcs/commit/db43f950b9f90eb1141a6dc5fb3b7b69b9d4d97b

  Log:
    Update test f-r gcs-delete-domain to specify host and port

  Modified files:
    test/gcs-commands.test.js

  Modified: test/gcs-commands.test.js (+4 -2)
===================================================================
--- test/gcs-commands.test.js    2012-10-15 16:57:59 +0900 (c858db8)
+++ test/gcs-commands.test.js    2012-10-15 16:58:11 +0900 (3a0011e)
@@ -117,7 +117,8 @@ suite('gcs-delete-domain', function() {
       .run('gcs-delete-domain',
            '--domain-name', 'test',
            '--force',
-           '--database-path', temporaryDatabase.path)
+           '--port', utils.testPort,
+           '--base-host', 'localhost:' + utils.testPort)
       .next(function(result) {
         assert.deepEqual({ code:    result.code,
                            message: result.output.stdout },
@@ -155,7 +156,8 @@ suite('gcs-delete-domain', function() {
     utils
       .run('gcs-delete-domain',
            '--force',
-           '--database-path', temporaryDatabase.path)
+           '--port', utils.testPort,
+           '--base-host', 'localhost:' + utils.testPort)
       .next(function(result) {
         assertDomainNotSpecified(result);
         done();
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index