Skip to content

Commit

Permalink
split-index: disable the fsmonitor extension when running the split i…
Browse files Browse the repository at this point in the history
…ndex test

The split index test t1700-split-index.sh has hard coded SHA values for
the index.  Currently it supports index V4 and V3 but assumes there are
no index extensions loaded.

When manually forcing the fsmonitor extension to be turned on when
running the test suite, the SHA values no longer match which causes the
test to fail.

The potential matrix of index extensions and index versions can is quite
large so instead temporarily disable the extension before attempting to
run the test until the underlying problem of hard coded SHA values is fixed.

Signed-off-by: Ben Peart <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
benpeart authored and gitster committed Oct 1, 2017
1 parent dd3551f commit e692851
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/t1700-split-index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ test_description='split index mode tests'

# We need total control of index splitting here
sane_unset GIT_TEST_SPLIT_INDEX
sane_unset GIT_FSMONITOR_TEST

test_expect_success 'enable split index' '
git config splitIndex.maxPercentChange 100 &&
Expand Down

0 comments on commit e692851

Please sign in to comment.