-
Notifications
You must be signed in to change notification settings - Fork 6
Introducing --track-filter option #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
b3f8d16
Introducing --track-filter option
NickDris 47838ad
Autouse the track-filter fixture in tests
NickDris 1cbe157
Mark tracks so they can be skipped if not in track_filter (#9)
NickDris 1bed71d
Resurrect tests
gbanasiak 6d6f797
Remove track-filter fixture since we use markers
NickDris 58ac699
Unit test the track-filter functionality
NickDris 8761eef
Update README.md
NickDris 8a2a895
Bump version
NickDris 7cf6159
Functional tests
NickDris f4687f5
Test both autogenerated and marked tracks and challenges
NickDris 918f459
Missing spaces and constants
NickDris 60042c4
Remove make_conftest and simplify
gbanasiak 03e0cbd
Add tests for class and module level track filtering
NickDris de7a50e
Change hook for parsing markers and add test for --skip-autogenerated
NickDris b53b388
Simplify test with list instead of dict and add missing EOL
NickDris File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "settings": { | ||
| "index.number_of_replicas": 0 | ||
| }, | ||
| "mappings": { | ||
| "dynamic": "strict", | ||
| "properties": { | ||
| "geonameid": { | ||
| "type": "long" | ||
| }, | ||
| "name": { | ||
| "type": "text" | ||
| }, | ||
| "latitude": { | ||
| "type": "double" | ||
| }, | ||
| "longitude": { | ||
| "type": "double" | ||
| }, | ||
| "country_code": { | ||
| "type": "text" | ||
| }, | ||
| "population": { | ||
| "type": "long" | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,109 @@ | ||
| { | ||
| "version": 2, | ||
| "description": "Skeleton track for testing pytest-rally", | ||
| "indices": [ | ||
| { | ||
| "name": "test", | ||
| "body": "index.json" | ||
| } | ||
| ], | ||
| "corpora": [ | ||
| { | ||
| "name": "test-track", | ||
| "documents": [ | ||
| { | ||
| "source-file": "documents.json", | ||
| "document-count": 100, | ||
| "uncompressed-bytes": 100 | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "challenges": [ | ||
| { | ||
| "name": "index-and-query", | ||
| "default": true, | ||
| "schedule": [ | ||
| { | ||
| "operation": { | ||
| "operation-type": "delete-index" | ||
| } | ||
| }, | ||
| { | ||
| "operation": { | ||
| "operation-type": "create-index" | ||
| } | ||
| }, | ||
| { | ||
| "operation": { | ||
| "operation-type": "cluster-health", | ||
| "request-params": { | ||
| "wait_for_status": "green" | ||
| }, | ||
| "retry-until-success": true | ||
| } | ||
| }, | ||
| { | ||
| "operation": { | ||
| "operation-type": "bulk", | ||
| "bulk-size": 5000 | ||
| }, | ||
| "warmup-time-period": 120, | ||
| "clients": 8 | ||
| }, | ||
| { | ||
| "operation": { | ||
| "operation-type": "force-merge" | ||
| } | ||
| }, | ||
| { | ||
| "operation": { | ||
| "name": "query-match-all", | ||
| "operation-type": "search", | ||
| "body": { | ||
| "query": { | ||
| "match_all": {} | ||
| } | ||
| } | ||
| }, | ||
| "clients": 8, | ||
| "warmup-iterations": 1000, | ||
| "iterations": 1000, | ||
| "target-throughput": 100 | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "index-only", | ||
| "schedule": [ | ||
| { | ||
| "operation": { | ||
| "operation-type": "delete-index" | ||
| } | ||
| }, | ||
| { | ||
| "operation": { | ||
| "operation-type": "create-index" | ||
| } | ||
| }, | ||
| { | ||
| "operation": { | ||
| "operation-type": "cluster-health", | ||
| "request-params": { | ||
| "wait_for_status": "green" | ||
| }, | ||
| "retry-until-success": true | ||
| } | ||
| }, | ||
| { | ||
| "operation": { | ||
| "operation-type": "bulk", | ||
| "bulk-size": 5000 | ||
| }, | ||
| "warmup-time-period": 120, | ||
| "clients": 8 | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.