Send progress only when requested by client in SelectObject (#6467)

This commit is contained in:
Harshavardhana
2018-09-16 23:22:46 -07:00
committed by Nitish Tiwari
parent 66fda7a37f
commit a0683d3c1f
4 changed files with 44 additions and 35 deletions

View File

@@ -677,7 +677,7 @@ func TestMyXMLFunction(t *testing.T) {
expectedStat int
expectedProgress int
}{
{159, 165},
{150, 156},
}
for _, table := range tables {
myVal, _ := s3s.createStatXML()
@@ -764,7 +764,7 @@ func TestMyInfoProtocolFunctions(t *testing.T) {
expectedStat int
expectedProgress int
}{
{myVal, myOtherVal, 242, 252},
{myVal, myOtherVal, 233, 243},
}
for _, table := range tables {
var currBuf = &bytes.Buffer{}