mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
tests/e2e: remove unnessary type conversion
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
bc18474029
commit
b01d560be0
@ -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") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user