YUKI Hiroshi
null+****@clear*****
Wed Nov 21 20:06:33 JST 2012
YUKI Hiroshi 2012-11-21 20:06:33 +0900 (Wed, 21 Nov 2012) New Revision: 4df637f62cab79005e7aab00292d80375d68688c https://github.com/groonga/gcs/commit/4df637f62cab79005e7aab00292d80375d68688c Log: Fix wrong responses Copied files: test/response/configuration/DeleteDomain/with-valid-name-setup-with-valid-name-delete.txt (from test/response/configuration/DeleteDomain/setup-to-be-deleted-domain-setup-to-be-deleted-domain.txt) Removed files: test/response/configuration/DeleteDomain/setup-to-be-deleted-domain-with-valid-name.txt Modified files: test/scenarios/configuration/DeleteDomain.json Renamed files: test/response/configuration/DeleteDomain/with-valid-name-setup-with-valid-name-setup.txt (from test/response/configuration/DeleteDomain/setup-to-be-deleted-domain-setup-to-be-deleted-domain.txt) Deleted: test/response/configuration/DeleteDomain/setup-to-be-deleted-domain-with-valid-name.txt (+0 -13) 100644 =================================================================== --- test/response/configuration/DeleteDomain/setup-to-be-deleted-domain-with-valid-name.txt 2012-11-21 20:00:51 +0900 (c42c321) +++ /dev/null @@ -1,13 +0,0 @@ -HTTP/1.1 500 Inetnal Server Error -x-amzn-requestid: 1581ca54-323c-11e2-b1db-0b78855e0435 -content-type: text/xml -content-length: 231 -date: Mon, 19 Nov 2012 11:27:22 GMT - -<ErrorResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"> - <Error> - <Type>Receiver</Type> - <Code>InternalFailure</Code> - </Error> - <RequestId>1581ca54-323c-11e2-b1db-0b78855e0435</RequestId> -</ErrorResponse> Copied: test/response/configuration/DeleteDomain/with-valid-name-setup-with-valid-name-delete.txt (+9 -9) 66% =================================================================== --- test/response/configuration/DeleteDomain/setup-to-be-deleted-domain-setup-to-be-deleted-domain.txt 2012-11-21 20:00:51 +0900 (fd658ed) +++ test/response/configuration/DeleteDomain/with-valid-name-setup-with-valid-name-delete.txt 2012-11-21 20:06:33 +0900 (b6518b5) @@ -1,11 +1,11 @@ HTTP/1.1 200 OK -x-amzn-requestid: 1440e5f5-323c-11e2-a9f9-b9c04fe63567 +x-amzn-requestid: 1581ca54-323c-11e2-b1db-0b78855e0435 content-type: text/xml -content-length: 917 -date: Mon, 19 Nov 2012 11:27:18 GMT +content-length: 231 +date: Mon, 19 Nov 2012 11:27:22 GMT -<CreateDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"> - <CreateDomainResult> +<DeleteDomainResponse xmlns="http://cloudsearch.amazonaws.com/doc/2011-02-01"> + <DeleteDomainResult> <DomainStatus> <SearchPartitionCount>0</SearchPartitionCount> <SearchService> @@ -18,13 +18,13 @@ date: Mon, 19 Nov 2012 11:27:18 GMT <SearchInstanceCount>0</SearchInstanceCount> <DomainName>companies</DomainName> <RequiresIndexDocuments>false</RequiresIndexDocuments> - <Deleted>false</Deleted> + <Deleted>true</Deleted> <DocService> <Arn>arn:aws:cs:us-east-1:788574296432:doc/companies</Arn> </DocService> </DomainStatus> - </CreateDomainResult> + </DeleteDomainResult> <ResponseMetadata> - <RequestId>1440e5f5-323c-11e2-a9f9-b9c04fe63567</RequestId> + <RequestId>443d1d44-3229-11e2-9bd4-136bd92c7ffd</RequestId> </ResponseMetadata> -</CreateDomainResponse> +</DeleteDomainResponse> Renamed: test/response/configuration/DeleteDomain/with-valid-name-setup-with-valid-name-setup.txt (+0 -0) 100% =================================================================== Modified: test/scenarios/configuration/DeleteDomain.json (+2 -2) =================================================================== --- test/scenarios/configuration/DeleteDomain.json 2012-11-21 20:00:51 +0900 (f71acd7) +++ test/scenarios/configuration/DeleteDomain.json 2012-11-21 20:06:33 +0900 (4d3514e) @@ -1,9 +1,9 @@ [ [ - { "name" : "setup: to-be-deleted domain", + { "name" : "with valid name: setup", "params": { "Action": "CreateDomain", "DomainName": "companies" } }, - { "name" : "with valid name", + { "name" : "with valid name: delete", "params": { "Action": "DeleteDomain", "DomainName": "companies" } } ], -------------- next part -------------- HTML����������������������������...Download