azureblob: Implemented settier command support on azureblob remote, this supports to

change tier on objects. Added internal test to check if feature flags are set correctly
This commit is contained in:
sandeepkru 2018-09-10 18:55:06 -07:00 committed by Nick Craig-Wood
parent 5716a58413
commit aac84c554a
2 changed files with 93 additions and 19 deletions

View file

@ -0,0 +1,20 @@
// +build !freebsd,!netbsd,!openbsd,!plan9,!solaris,go1.8
package azureblob
import (
"testing"
"github.com/stretchr/testify/assert"
)
func (f *Fs) InternalTest(t *testing.T) {
// Check first feature flags are set on this
// remote
enabled := f.Features().ListTiers
assert.True(t, enabled)
enabled = f.Features().SetTier
assert.True(t, enabled)
enabled = f.Features().GetTier
assert.True(t, enabled)
}