tests/e2e: remove unnessary type conversion

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
release-3.4
Gyuho Lee 2018-07-05 10:10:30 -07:00
parent bc18474029
commit b01d560be0
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ func alarmTest(cx ctlCtx) {
}
// write some chunks to fill up the database
buf := strings.Repeat("b", int(os.Getpagesize()))
buf := strings.Repeat("b", os.Getpagesize())
for {
if err := ctlV3Put(cx, "2nd_test", buf, ""); err != nil {
if !strings.Contains(err.Error(), "etcdserver: mvcc: database space exceeded") {