[Groonga-commit] groonga/gcs [master] Fix wrong expected responses

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 21 20:00:51 JST 2012


YUKI Hiroshi	2012-11-21 20:00:51 +0900 (Wed, 21 Nov 2012)

  New Revision: 4b949921a0e40e64196c10fa8a881011a3fc8179
  https://github.com/groonga/gcs/commit/4b949921a0e40e64196c10fa8a881011a3fc8179

  Log:
    Fix wrong expected responses

  Modified files:
    test/response/configuration/DeleteIndexField/with-reserved-field-name-body-prepare-the-test-domain.txt
    test/response/configuration/DescribeDomains/all-domains-all-domains.txt
    test/response/configuration/DescribeDomains/multiple-indexes-with-gap-multiple-indexes-with-gap.txt
    test/response/configuration/DescribeDomains/with-too-long-name-delete-test-domain-1.txt
    test/response/configuration/DescribeDomains/with-too-short-one-letter-name-delete-test-domain-3.txt

  Modified: test/response/configuration/DeleteIndexField/with-reserved-field-name-body-prepare-the-test-domain.txt (+24 -24)
===================================================================
--- test/response/configuration/DeleteIndexField/with-reserved-field-name-body-prepare-the-test-domain.txt    2012-11-21 19:56:40 +0900 (60ca025)
+++ test/response/configuration/DeleteIndexField/with-reserved-field-name-body-prepare-the-test-domain.txt    2012-11-21 20:00:51 +0900 (da1efd1)
@@ -4,27 +4,27 @@ content-type: text/xml
 content-length: 917
 date: Mon, 19 Nov 2012 11:03:09 GMT
 
-<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
-  <CreateDomainResult>
-    <DomainStatus>
-      <SearchPartitionCount>0</SearchPartitionCount>
-      <SearchService>
-        <Arn>arn:aws:cs:us-east-1:788574296432:search/companies</Arn>
-      </SearchService>
-      <NumSearchableDocs>0</NumSearchableDocs>
-      <Created>true</Created>
-      <DomainId>788574296432/companies</DomainId>
-      <Processing>false</Processing>
-      <SearchInstanceCount>0</SearchInstanceCount>
-      <DomainName>companies</DomainName>
-      <RequiresIndexDocuments>false</RequiresIndexDocuments>
-      <Deleted>true</Deleted>
-      <DocService>
-        <Arn>arn:aws:cs:us-east-1:788574296432:doc/companies</Arn>
-      </DocService>
-    </DomainStatus>
-  </CreateDomainResult>
-  <ResponseMetadata>
-    <RequestId>b3d0d0cd-3238-11e2-a9f9-b9c04fe63567</RequestId>
-  </ResponseMetadata>
-</CreateDomainResponse>
+<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <CreateDomainResult>
+    <DomainStatus>
+      <SearchPartitionCount>0</SearchPartitionCount>
+      <SearchService>
+        <Arn>arn:aws:cs:us-east-1:788574296432:search/companies</Arn>
+      </SearchService>
+      <NumSearchableDocs>0</NumSearchableDocs>
+      <Created>true</Created>
+      <DomainId>788574296432/companies</DomainId>
+      <Processing>false</Processing>
+      <SearchInstanceCount>0</SearchInstanceCount>
+      <DomainName>companies</DomainName>
+      <RequiresIndexDocuments>false</RequiresIndexDocuments>
+      <Deleted>false</Deleted>
+      <DocService>
+        <Arn>arn:aws:cs:us-east-1:788574296432:doc/companies</Arn>
+      </DocService>
+    </DomainStatus>
+  </CreateDomainResult>
+  <ResponseMetadata>
+    <RequestId>b3d0d0cd-3238-11e2-a9f9-b9c04fe63567</RequestId>
+  </ResponseMetadata>
+</CreateDomainResponse>

  Modified: test/response/configuration/DescribeDomains/all-domains-all-domains.txt (+60 -77)
===================================================================
--- test/response/configuration/DescribeDomains/all-domains-all-domains.txt    2012-11-21 19:56:40 +0900 (4823ec4)
+++ test/response/configuration/DescribeDomains/all-domains-all-domains.txt    2012-11-21 20:00:51 +0900 (dc24da7)
@@ -4,80 +4,63 @@ content-type: text/xml
 content-length: 3018
 date: Mon, 19 Nov 2012 11:08:58 GMT
 
-<DescribeDomainsResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
-  <DescribeDomainsResult>
-    <DomainStatusList>
-      <member>
-        <SearchPartitionCount>0</SearchPartitionCount>
-        <SearchService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:search/domain3</Arn>
-        </SearchService>
-        <NumSearchableDocs>0</NumSearchableDocs>
-        <Created>true</Created>
-        <DomainId>788574296432/domain3</DomainId>
-        <Processing>true</Processing>
-        <SearchInstanceCount>0</SearchInstanceCount>
-        <DomainName>domain3</DomainName>
-        <RequiresIndexDocuments>false</RequiresIndexDocuments>
-        <Deleted>false</Deleted>
-        <DocService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain3</Arn>
-        </DocService>
-      </member>
-      <member>
-        <SearchPartitionCount>0</SearchPartitionCount>
-        <SearchService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:search/domain2</Arn>
-        </SearchService>
-        <NumSearchableDocs>0</NumSearchableDocs>
-        <Created>true</Created>
-        <DomainId>788574296432/domain2</DomainId>
-        <Processing>true</Processing>
-        <SearchInstanceCount>0</SearchInstanceCount>
-        <DomainName>domain2</DomainName>
-        <RequiresIndexDocuments>false</RequiresIndexDocuments>
-        <Deleted>false</Deleted>
-        <DocService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain2</Arn>
-        </DocService>
-      </member>
-      <member>
-        <SearchPartitionCount>0</SearchPartitionCount>
-        <SearchService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:search/domain1</Arn>
-        </SearchService>
-        <NumSearchableDocs>0</NumSearchableDocs>
-        <Created>true</Created>
-        <DomainId>788574296432/domain1</DomainId>
-        <Processing>true</Processing>
-        <SearchInstanceCount>0</SearchInstanceCount>
-        <DomainName>domain1</DomainName>
-        <RequiresIndexDocuments>false</RequiresIndexDocuments>
-        <Deleted>false</Deleted>
-        <DocService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain1</Arn>
-        </DocService>
-      </member>
-      <member>
-        <SearchPartitionCount>0</SearchPartitionCount>
-        <SearchService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:search/companies</Arn>
-        </SearchService>
-        <NumSearchableDocs>0</NumSearchableDocs>
-        <Created>true</Created>
-        <DomainId>788574296432/companies</DomainId>
-        <Processing>true</Processing>
-        <SearchInstanceCount>0</SearchInstanceCount>
-        <DomainName>companies</DomainName>
-        <RequiresIndexDocuments>true</RequiresIndexDocuments>
-        <Deleted>true</Deleted>
-        <DocService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:doc/companies</Arn>
-        </DocService>
-      </member>
-    </DomainStatusList>
-  </DescribeDomainsResult>
-  <ResponseMetadata>
-    <RequestId>83f285e2-3239-11e2-9bd4-136bd92c7ffd</RequestId>
-  </ResponseMetadata>
-</DescribeDomainsResponse>
+<DescribeDomainsResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <DescribeDomainsResult>
+    <DomainStatusList>
+      <member>
+        <SearchPartitionCount>0</SearchPartitionCount>
+        <SearchService>
+          <Arn>arn:aws:cs:us-east-1:788574296432:search/domain3</Arn>
+        </SearchService>
+        <NumSearchableDocs>0</NumSearchableDocs>
+        <Created>true</Created>
+        <DomainId>788574296432/domain3</DomainId>
+        <Processing>true</Processing>
+        <SearchInstanceCount>0</SearchInstanceCount>
+        <DomainName>domain3</DomainName>
+        <RequiresIndexDocuments>false</RequiresIndexDocuments>
+        <Deleted>false</Deleted>
+        <DocService>
+          <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain3</Arn>
+        </DocService>
+      </member>
+      <member>
+        <SearchPartitionCount>0</SearchPartitionCount>
+        <SearchService>
+          <Arn>arn:aws:cs:us-east-1:788574296432:search/domain2</Arn>
+        </SearchService>
+        <NumSearchableDocs>0</NumSearchableDocs>
+        <Created>true</Created>
+        <DomainId>788574296432/domain2</DomainId>
+        <Processing>true</Processing>
+        <SearchInstanceCount>0</SearchInstanceCount>
+        <DomainName>domain2</DomainName>
+        <RequiresIndexDocuments>false</RequiresIndexDocuments>
+        <Deleted>false</Deleted>
+        <DocService>
+          <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain2</Arn>
+        </DocService>
+      </member>
+      <member>
+        <SearchPartitionCount>0</SearchPartitionCount>
+        <SearchService>
+          <Arn>arn:aws:cs:us-east-1:788574296432:search/domain1</Arn>
+        </SearchService>
+        <NumSearchableDocs>0</NumSearchableDocs>
+        <Created>true</Created>
+        <DomainId>788574296432/domain1</DomainId>
+        <Processing>true</Processing>
+        <SearchInstanceCount>0</SearchInstanceCount>
+        <DomainName>domain1</DomainName>
+        <RequiresIndexDocuments>false</RequiresIndexDocuments>
+        <Deleted>false</Deleted>
+        <DocService>
+          <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain1</Arn>
+        </DocService>
+      </member>
+    </DomainStatusList>
+  </DescribeDomainsResult>
+  <ResponseMetadata>
+    <RequestId>83f285e2-3239-11e2-9bd4-136bd92c7ffd</RequestId>
+  </ResponseMetadata>
+</DescribeDomainsResponse>

  Modified: test/response/configuration/DescribeDomains/multiple-indexes-with-gap-multiple-indexes-with-gap.txt (+43 -43)
===================================================================
--- test/response/configuration/DescribeDomains/multiple-indexes-with-gap-multiple-indexes-with-gap.txt    2012-11-21 19:56:40 +0900 (6dd6a28)
+++ test/response/configuration/DescribeDomains/multiple-indexes-with-gap-multiple-indexes-with-gap.txt    2012-11-21 20:00:51 +0900 (5b04897)
@@ -4,46 +4,46 @@ content-type: text/xml
 content-length: 1663
 date: Mon, 19 Nov 2012 11:24:48 GMT
 
-<DescribeDomainsResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
-  <DescribeDomainsResult>
-    <DomainStatusList>
-      <member>
-        <SearchPartitionCount>0</SearchPartitionCount>
-        <SearchService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:search/domain1</Arn>
-        </SearchService>
-        <NumSearchableDocs>0</NumSearchableDocs>
-        <Created>true</Created>
-        <DomainId>788574296432/domain1</DomainId>
-        <Processing>true</Processing>
-        <SearchInstanceCount>0</SearchInstanceCount>
-        <DomainName>domain1</DomainName>
-        <RequiresIndexDocuments>false</RequiresIndexDocuments>
-        <Deleted>false</Deleted>
-        <DocService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain1</Arn>
-        </DocService>
-      </member>
-      <member>
-        <SearchPartitionCount>0</SearchPartitionCount>
-        <SearchService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:search/domain2</Arn>
-        </SearchService>
-        <NumSearchableDocs>0</NumSearchableDocs>
-        <Created>true</Created>
-        <DomainId>788574296432/domain2</DomainId>
-        <Processing>true</Processing>
-        <SearchInstanceCount>0</SearchInstanceCount>
-        <DomainName>domain2</DomainName>
-        <RequiresIndexDocuments>false</RequiresIndexDocuments>
-        <Deleted>true</Deleted>
-        <DocService>
-          <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain2</Arn>
-        </DocService>
-      </member>
-    </DomainStatusList>
-  </DescribeDomainsResult>
-  <ResponseMetadata>
-    <RequestId>b9d02022-323b-11e2-b1db-0b78855e0435</RequestId>
-  </ResponseMetadata>
-</DescribeDomainsResponse>
+<DescribeDomainsResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01">
+  <DescribeDomainsResult>
+    <DomainStatusList>
+      <member>
+        <SearchPartitionCount>0</SearchPartitionCount>
+        <SearchService>
+          <Arn>arn:aws:cs:us-east-1:788574296432:search/domain1</Arn>
+        </SearchService>
+        <NumSearchableDocs>0</NumSearchableDocs>
+        <Created>true</Created>
+        <DomainId>788574296432/domain1</DomainId>
+        <Processing>true</Processing>
+        <SearchInstanceCount>0</SearchInstanceCount>
+        <DomainName>domain1</DomainName>
+        <RequiresIndexDocuments>false</RequiresIndexDocuments>
+        <Deleted>false</Deleted>
+        <DocService>
+          <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain1</Arn>
+        </DocService>
+      </member>
+      <member>
+        <SearchPartitionCount>0</SearchPartitionCount>
+        <SearchService>
+          <Arn>arn:aws:cs:us-east-1:788574296432:search/domain2</Arn>
+        </SearchService>
+        <NumSearchableDocs>0</NumSearchableDocs>
+        <Created>true</Created>
+        <DomainId>788574296432/domain2</DomainId>
+        <Processing>true</Processing>
+        <SearchInstanceCount>0</SearchInstanceCount>
+        <DomainName>domain2</DomainName>
+        <RequiresIndexDocuments>false</RequiresIndexDocuments>
+        <Deleted>false</Deleted>
+        <DocService>
+          <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain2</Arn>
+        </DocService>
+      </member>
+    </DomainStatusList>
+  </DescribeDomainsResult>
+  <ResponseMetadata>
+    <RequestId>b9d02022-323b-11e2-b1db-0b78855e0435</RequestId>
+  </ResponseMetadata>
+</DescribeDomainsResponse>

  Modified: test/response/configuration/DescribeDomains/with-too-long-name-delete-test-domain-1.txt (+1 -1)
===================================================================
--- test/response/configuration/DescribeDomains/with-too-long-name-delete-test-domain-1.txt    2012-11-21 19:56:40 +0900 (a4cf6a2)
+++ test/response/configuration/DescribeDomains/with-too-long-name-delete-test-domain-1.txt    2012-11-21 20:00:51 +0900 (73ef588)
@@ -18,7 +18,7 @@ date: Mon, 19 Nov 2012 11:18:12 GMT
       <SearchInstanceCount>0</SearchInstanceCount>
       <DomainName>domain1</DomainName>
       <RequiresIndexDocuments>false</RequiresIndexDocuments>
-      <Deleted>false</Deleted>
+      <Deleted>true</Deleted>
       <DocService>
         <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain1</Arn>
       </DocService>

  Modified: test/response/configuration/DescribeDomains/with-too-short-one-letter-name-delete-test-domain-3.txt (+1 -1)
===================================================================
--- test/response/configuration/DescribeDomains/with-too-short-one-letter-name-delete-test-domain-3.txt    2012-11-21 19:56:40 +0900 (d4bea32)
+++ test/response/configuration/DescribeDomains/with-too-short-one-letter-name-delete-test-domain-3.txt    2012-11-21 20:00:51 +0900 (ac2d3d5)
@@ -18,7 +18,7 @@ date: Mon, 19 Nov 2012 11:15:36 GMT
       <SearchInstanceCount>0</SearchInstanceCount>
       <DomainName>domain3</DomainName>
       <RequiresIndexDocuments>false</RequiresIndexDocuments>
-      <Deleted>false</Deleted>
+      <Deleted>true</Deleted>
       <DocService>
         <Arn>arn:aws:cs:us-east-1:788574296432:doc/domain3</Arn>
       </DocService>
-------------- next part --------------
HTML����������������������������...
다운로드 



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