[Groonga-commit] groonga/gcs [master] Update tests for CreateDomain and DeleteDomain

Back to archive index

SHIMODA Hiroshi null+****@clear*****
Wed Aug 15 13:47:29 JST 2012


SHIMODA Hiroshi	2012-08-15 13:47:29 +0900 (Wed, 15 Aug 2012)

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

  Log:
    Update tests for CreateDomain and DeleteDomain

  Modified files:
    test/api-configuration.test.js

  Modified: test/api-configuration.test.js (+4 -4)
===================================================================
--- test/api-configuration.test.js    2012-08-15 13:45:59 +0900 (ede271c)
+++ test/api-configuration.test.js    2012-08-15 13:47:29 +0900 (579ca92)
@@ -337,7 +337,7 @@ suite('Configuration API', function() {
               Created: 'true',
               Deleted: 'false',
               DocService: {
-                Endpoint: domain.getDocumentsEndpoint('localhost')
+                Endpoint: domain.getDocumentsEndpoint('localhost:' + exports.testPort)
               },
               DomainId: domain.domainId,
               DomainName: domain.name,
@@ -346,7 +346,7 @@ suite('Configuration API', function() {
               SearchInstanceCount: String(domain.searchInstanceCount),
               SearchPartitionCount: String(domain.searchPartitionCount),
               SearchService: {
-                Endpoint: domain.getSearchEndpoint('localhost')
+                Endpoint: domain.getSearchEndpoint('localhost:' + exports.testPort)
               }
             };
         var status = response.body.CreateDomainResponse.CreateDomainResult.DomainStatus;
@@ -383,7 +383,7 @@ suite('Configuration API', function() {
               Created: 'false',
               Deleted: 'true',
               DocService: {
-                Endpoint: domain.getDocumentsEndpoint('localhost')
+                Endpoint: domain.getDocumentsEndpoint('localhost:' + exports.testPort)
               },
               DomainId: domain.domainId,
               DomainName: domain.name,
@@ -392,7 +392,7 @@ suite('Configuration API', function() {
               SearchInstanceCount: String(domain.searchInstanceCount),
               SearchPartitionCount: String(domain.searchPartitionCount),
               SearchService: {
-                Endpoint: domain.getSearchEndpoint('localhost')
+                Endpoint: domain.getSearchEndpoint('localhost:' + exports.testPort)
               }
             };
         var status = response.body.DeleteDomainResponse.DeleteDomainResult.DomainStatus;
-------------- next part --------------
HTML����������������������������...
下載 



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