mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-01 20:46:56 +00:00
test/tablets: do not compare signed and unsigned
this change should silence following warning:
```
test/boost/tablets_test.cc:1600:27: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare]
19:47:04 for (int i = 0; i < smp::count * 20; i++) {
19:47:04 ~ ^ ~~~~~~~~~~~~~~~
```
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
This commit is contained in:
@@ -1597,7 +1597,7 @@ SEASTAR_THREAD_TEST_CASE(basic_tablet_storage_splitting_test) {
|
||||
e.execute_cql(
|
||||
"CREATE TABLE cf (pk int, ck int, v int, PRIMARY KEY (pk, ck))").get();
|
||||
|
||||
for (int i = 0; i < smp::count * 20; i++) {
|
||||
for (unsigned i = 0; i < smp::count * 20; i++) {
|
||||
e.execute_cql(format("INSERT INTO cf (pk, ck, v) VALUES ({}, 0, 0)", i)).get();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user