File: TestAcquireLeaseWithBadProposedLeaseID.yaml

package info (click to toggle)
golang-github-azure-azure-sdk-for-go 43.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports
  • size: 312,268 kB
  • sloc: sh: 14; makefile: 5
file content (153 lines) | stat: -rw-r--r-- 5,491 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
---
version: 1
interactions:
- request:
    body: ""
    form: {}
    headers:
      Authorization:
      - SharedKey golangrocksonazure:HHGbaCVwA6w8olB+K9FXqGHTxVF/132iQtf0EkZIVdA=
      User-Agent:
      - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28
        blob
      x-ms-date:
      - Tue, 28 May 2019 22:36:06 GMT
      x-ms-version:
      - "2018-03-28"
    url: https://golangrocksonazure.blob.core.windows.net/cnt-53leaseblobsuitetestacquirel?restype=container
    method: PUT
  response:
    body: ""
    headers:
      Content-Length:
      - "0"
      Date:
      - Tue, 28 May 2019 22:36:06 GMT
      Etag:
      - '"0x8D6E3BCDFCC0770"'
      Last-Modified:
      - Tue, 28 May 2019 22:36:06 GMT
      Server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      X-Ms-Request-Id:
      - 3781cc67-e01e-00b7-16a5-15d5a7000000
      X-Ms-Version:
      - "2018-03-28"
    status: 201 Created
    code: 201
    duration: ""
- request:
    body: Hello!
    form: {}
    headers:
      Authorization:
      - SharedKey golangrocksonazure:joR8HQfQt2BWUxvGW9kHETL3GMAihB7aC91HOT2gjiA=
      Content-Length:
      - "6"
      User-Agent:
      - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28
        blob
      x-ms-blob-type:
      - BlockBlob
      x-ms-date:
      - Tue, 28 May 2019 22:36:06 GMT
      x-ms-version:
      - "2018-03-28"
    url: https://golangrocksonazure.blob.core.windows.net/cnt-53leaseblobsuitetestacquirel/blob/53leaseblobsuitetestacquireleasewithbadproposedleaseid
    method: PUT
  response:
    body: ""
    headers:
      Content-Length:
      - "0"
      Content-Md5:
      - lS0sVtBIWVgzZ0e83ZhZDQ==
      Date:
      - Tue, 28 May 2019 22:36:06 GMT
      Etag:
      - '"0x8D6E3BCDFCE10FB"'
      Last-Modified:
      - Tue, 28 May 2019 22:36:06 GMT
      Server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      X-Ms-Request-Id:
      - 3781cc72-e01e-00b7-20a5-15d5a7000000
      X-Ms-Request-Server-Encrypted:
      - "true"
      X-Ms-Version:
      - "2018-03-28"
    status: 201 Created
    code: 201
    duration: ""
- request:
    body: ""
    form: {}
    headers:
      Authorization:
      - SharedKey golangrocksonazure:aNENMLUG6z25WESaJ/n3RxYTgncK7rDGc476m/kIqKs=
      User-Agent:
      - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28
        blob
      x-ms-date:
      - Tue, 28 May 2019 22:36:06 GMT
      x-ms-lease-action:
      - acquire
      x-ms-lease-duration:
      - "30"
      x-ms-proposed-lease-id:
      - badbadbad
      x-ms-version:
      - "2018-03-28"
    url: https://golangrocksonazure.blob.core.windows.net/cnt-53leaseblobsuitetestacquirel/blob/53leaseblobsuitetestacquireleasewithbadproposedleaseid?comp=lease
    method: PUT
  response:
    body: "\uFEFF\x3C\x3F\x78\x6D\x6C\x20\x76\x65\x72\x73\x69\x6F\x6E\x3D\"\x31\x2E\x30\"\x20\x65\x6E\x63\x6F\x64\x69\x6E\x67\x3D\"\x75\x74\x66\x2D\x38\"\x3F\x3E\x3C\x45\x72\x72\x6F\x72\x3E\x3C\x43\x6F\x64\x65\x3E\x49\x6E\x76\x61\x6C\x69\x64\x48\x65\x61\x64\x65\x72\x56\x61\x6C\x75\x65\x3C\x2F\x43\x6F\x64\x65\x3E\x3C\x4D\x65\x73\x73\x61\x67\x65\x3E\x54\x68\x65\x20\x76\x61\x6C\x75\x65\x20\x66\x6F\x72\x20\x6F\x6E\x65\x20\x6F\x66\x20\x74\x68\x65\x20\x48\x54\x54\x50\x20\x68\x65\x61\x64\x65\x72\x73\x20\x69\x73\x20\x6E\x6F\x74\x20\x69\x6E\x20\x74\x68\x65\x20\x63\x6F\x72\x72\x65\x63\x74\x20\x66\x6F\x72\x6D\x61\x74\x2E\n\x52\x65\x71\x75\x65\x73\x74\x49\x64\x3A\x33\x37\x38\x31\x63\x63\x37\x63\x2D\x65\x30\x31\x65\x2D\x30\x30\x62\x37\x2D\x32\x61\x61\x35\x2D\x31\x35\x64\x35\x61\x37\x30\x30\x30\x30\x30\x30\n\x54\x69\x6D\x65\x3A\x32\x30\x31\x39\x2D\x30\x35\x2D\x32\x38\x54\x32\x32\x3A\x33\x36\x3A\x30\x36\x2E\x37\x37\x39\x31\x32\x35\x39\x5A\x3C\x2F\x4D\x65\x73\x73\x61\x67\x65\x3E\x3C\x48\x65\x61\x64\x65\x72\x4E\x61\x6D\x65\x3E\x78\x2D\x6D\x73\x2D\x70\x72\x6F\x70\x6F\x73\x65\x64\x2D\x6C\x65\x61\x73\x65\x2D\x69\x64\x3C\x2F\x48\x65\x61\x64\x65\x72\x4E\x61\x6D\x65\x3E\x3C\x48\x65\x61\x64\x65\x72\x56\x61\x6C\x75\x65\x3E\x62\x61\x64\x62\x61\x64\x62\x61\x64\x3C\x2F\x48\x65\x61\x64\x65\x72\x56\x61\x6C\x75\x65\x3E\x3C\x2F\x45\x72\x72\x6F\x72\x3E"
    headers:
      Content-Length:
      - "337"
      Content-Type:
      - application/xml
      Date:
      - Tue, 28 May 2019 22:36:06 GMT
      Server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      X-Ms-Error-Code:
      - InvalidHeaderValue
      X-Ms-Request-Id:
      - 3781cc7c-e01e-00b7-2aa5-15d5a7000000
      X-Ms-Version:
      - "2018-03-28"
    status: 400 The value for one of the HTTP headers is not in the correct format.
    code: 400
    duration: ""
- request:
    body: ""
    form: {}
    headers:
      Authorization:
      - SharedKey golangrocksonazure:WteAG/c9jVt3bpIdr2y53UyGnZdPRxGiMMBvvaCzJfY=
      User-Agent:
      - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28
        blob
      x-ms-date:
      - Tue, 28 May 2019 22:36:06 GMT
      x-ms-version:
      - "2018-03-28"
    url: https://golangrocksonazure.blob.core.windows.net/cnt-53leaseblobsuitetestacquirel?restype=container
    method: DELETE
  response:
    body: ""
    headers:
      Content-Length:
      - "0"
      Date:
      - Tue, 28 May 2019 22:36:06 GMT
      Server:
      - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
      X-Ms-Request-Id:
      - 3781cc82-e01e-00b7-30a5-15d5a7000000
      X-Ms-Version:
      - "2018-03-28"
    status: 202 Accepted
    code: 202
    duration: ""