Skip to content

Commit

Permalink
index_column_diff: omit tests that use large data with HTTP
Browse files Browse the repository at this point in the history
Because HTTP chunked test is too slow with them although we
extended the timeout from 60 to 120 seconds.
  • Loading branch information
otegami committed Dec 2, 2024
1 parent dcd3bc8 commit c8970be
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# This is too slow with HTTP chunked.
#@require-interface stdio

table_create PostingLists TABLE_NO_KEY
column_create PostingLists deltas COLUMN_VECTOR Int64

table_create Deltas TABLE_PAT_KEY Int64
column_create Deltas index COLUMN_INDEX|WITH_POSITION PostingLists deltas

#@timeout 120
#@timeout 60
#@disable-logging
#@generate-series 1 1 PostingLists '{"deltas" => [1] * (0x1ffff + 1)}'
#@enable-logging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# This is too slow with HTTP chunked.
#@require-interface stdio

table_create Tags TABLE_HASH_KEY ShortText

table_create Memos TABLE_NO_KEY
column_create Memos tags COLUMN_VECTOR Tags

column_create Tags memos_tags COLUMN_INDEX|WITH_POSITION Memos tags

#@timeout 120
#@timeout 60
#@disable-logging
#@generate-series 1 1 Memos '{"tags" => ["tag"] * (0x1ffff + 1)}'
#@enable-logging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# This is too slow with HTTP chunked.
#@require-interface stdio

table_create Diaries TABLE_NO_KEY
column_create Diaries content COLUMN_SCALAR LongText

table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenDelimit
column_create Terms index COLUMN_INDEX|WITH_POSITION Diaries content

#@timeout 120
#@timeout 60
#@disable-logging
#@generate-series 1 1 Diaries '{"content" => "a " * (0x1ffff + 1)}'
#@enable-logging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This is too slow with HTTP chunked.
#@require-interface stdio

table_create Diaries TABLE_NO_KEY
column_create Diaries title COLUMN_SCALAR ShortText
column_create Diaries content COLUMN_SCALAR LongText
Expand All @@ -7,7 +10,7 @@ column_create Terms index \
COLUMN_INDEX|WITH_POSITION|WITH_SECTION \
Diaries title,content

#@timeout 120
#@timeout 60
#@disable-logging
#@generate-series 1 1 Diaries '{"title" => "a", "content" => "a " * (0x1ffff + 1)}'
#@enable-logging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# This is too slow with HTTP chunked.
#@require-interface stdio

table_create Diaries TABLE_NO_KEY
column_create Diaries content COLUMN_SCALAR LongText

table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenDelimit
column_create Terms index COLUMN_INDEX|WITH_POSITION Diaries content

#@timeout 120
#@timeout 60
#@disable-logging
#@generate-series 1 1 Diaries '{"content" => "a b " * (0x1ffff + 1)}'
#@enable-logging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# This is too slow with HTTP chunked.
#@require-interface stdio

table_create Diaries TABLE_NO_KEY
column_create Diaries contents COLUMN_VECTOR Text

table_create Terms TABLE_PAT_KEY ShortText
column_create Terms index COLUMN_INDEX|WITH_POSITION Diaries contents

#@timeout 120
#@timeout 60
#@disable-logging
#@generate-series 1 1 Diaries '{"contents" => ["a"] * (0x1ffff + 1)}'
#@enable-logging
Expand Down

0 comments on commit c8970be

Please sign in to comment.