Skip to content

Commit 5f4258e

Browse files
authored
N-N9 etc (#7024)
1 parent ade5f95 commit 5f4258e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.ci/atime/tests.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,9 @@ test.list <- atime::atime_test_list(
177177
# Fixed in https://github.com/Rdatatable/data.table/pull/4558
178178
"DT[by] fixed in #4558" = atime::atime_test(
179179
setup = {
180+
N9 <- as.integer(N * 0.9)
180181
d <- data.table(
181-
id = sample(c(seq.int(N * 0.9), sample(N * 0.9, N * 0.1, TRUE))),
182+
id = sample(c(seq.int(N9), sample(N9, N-N9, TRUE))),
182183
v1 = sample(5L, N, TRUE),
183184
v2 = sample(5L, N, TRUE)
184185
)

0 commit comments

Comments
 (0)