Skip to content

Commit

Permalink
mononoke/integration tests: fix up integration tests using hooks (#48)
Browse files Browse the repository at this point in the history
Summary:
Hooks have been recently made public. Remove from list of excluded tests the ones that were blocked by missing hooks and fix them up.

Pull Request resolved: #48

Reviewed By: farnz

Differential Revision: D23564883

Pulled By: lukaspiatkowski

fbshipit-source-id: 101dd093eb11003b8a4b4aa4c5ce242d9a9b9462
  • Loading branch information
lukaspiatkowski authored and facebook-github-bot committed Sep 7, 2020
1 parent 89eb652 commit 52bc18a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 0 additions & 3 deletions eden/mononoke/tests/integration/run_tests_getdeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
"test-gitimport-octopus.t", # Unknown, fails on GitHub MacOs
"test-gitimport.t", # Issue with hggit extension
"test-hook-tailer.t", # Issue with hggit extension
"test-hooks.t", # Hooks are not in OSS yet
"test-infinitepush-lfs.t", # Timed out
"test-large-path-and-content.t", # Complex bash issues
"test-lfs-copytracing.t", # Timed out
Expand All @@ -109,9 +108,7 @@
"test-mononoke-hg-sync-job-generate-bundles-lfs-verification.t", # Timed out
"test-mononoke-hg-sync-job-generate-bundles-lfs.t", # Timed out
"test-push-protocol-lfs.t", # Timed out
"test-push-redirector-pushrebase-hooks.t", # Hooks are not in OSS yet
"test-pushrebase-block-casefolding.t", # Most likely MacOS path case insensitivity
"test-pushrebase-discovery.t", # Hooks are not in OSS yet
"test-remotefilelog-lfs.t", # Timed out
"test-scs-blame.t", # Missing SCS_SERVER
"test-scs-common-base.t", # Missing SCS_SERVER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
> hook_name="deny_files"
> [[hooks]]
> name="deny_files"
> [hooks.config_string_lists]
> deny_patterns = [
> "/[.]git/",
> ]
> CONFIG

$ cat > $TESTTMP/mononoke_tunables.json <<EOF
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
> hook_name="deny_files"
> [[hooks]]
> name="deny_files"
> [hooks.config_string_lists]
> deny_patterns = [
> "/[.]git/",
> ]
> CONFIG
$ start_large_small_repo --local-configerator-path="$TESTTMP/configerator"
Starting Mononoke server
Expand Down

0 comments on commit 52bc18a

Please sign in to comment.