Skip to content

Reduce work level for stochastic tests.#3

Merged
juliusv merged 1 commit intomasterfrom
fix/reduce-stochastic-test-time
Jan 4, 2013
Merged

Reduce work level for stochastic tests.#3
juliusv merged 1 commit intomasterfrom
fix/reduce-stochastic-test-time

Conversation

@matttproud
Copy link
Contributor

The LevelDB stochastic tests could take a long time.

Original:

Matt:prometheus mtp$ make test
make -C model
protoc --go_out=generated/ data.proto
go build ./...
go test ./...
warning: building out-of-date packages:
    github.com/matttproud/golang_instrumentation/maths
    github.com/matttproud/golang_instrumentation/utility
    github.com/matttproud/golang_instrumentation/metrics
    github.com/matttproud/golang_instrumentation
installing these packages with 'go test -i ./...' will speed future tests.

?       github.com/matttproud/prometheus    [no test files]
?       github.com/matttproud/prometheus/coding [no test files]
ok      github.com/matttproud/prometheus/coding/indexable   0.012s
?       github.com/matttproud/prometheus/model  [no test files]
?       github.com/matttproud/prometheus/model/generated    [no test files]
?       github.com/matttproud/prometheus/retrieval  [no test files]
?       github.com/matttproud/prometheus/storage/metric [no test files]
ok      github.com/matttproud/prometheus/storage/metric/leveldb 70.800s
?       github.com/matttproud/prometheus/storage/raw    [no test files]
?       github.com/matttproud/prometheus/storage/raw/index  [no test files]
ok      github.com/matttproud/prometheus/storage/raw/index/leveldb  0.012s
ok      github.com/matttproud/prometheus/storage/raw/leveldb    0.016s
ok      github.com/matttproud/prometheus/utility    0.012s
?       github.com/matttproud/prometheus/utility/test   [no test files]

to

Matt:prometheus mtp$ make test
make -C model
protoc --go_out=generated/ data.proto
go build ./...
go test ./...
warning: building out-of-date packages:
    github.com/matttproud/golang_instrumentation/maths
    github.com/matttproud/golang_instrumentation/utility
    github.com/matttproud/golang_instrumentation/metrics
    github.com/matttproud/golang_instrumentation
installing these packages with 'go test -i ./...' will speed future tests.

?       github.com/matttproud/prometheus    [no test files]
?       github.com/matttproud/prometheus/coding [no test files]
ok      github.com/matttproud/prometheus/coding/indexable   0.011s
?       github.com/matttproud/prometheus/model  [no test files]
?       github.com/matttproud/prometheus/model/generated    [no test files]
?       github.com/matttproud/prometheus/retrieval  [no test files]
?       github.com/matttproud/prometheus/storage/metric [no test files]
ok      github.com/matttproud/prometheus/storage/metric/leveldb 2.158s
?       github.com/matttproud/prometheus/storage/raw    [no test files]
?       github.com/matttproud/prometheus/storage/raw/index  [no test files]
ok      github.com/matttproud/prometheus/storage/raw/index/leveldb  0.013s
ok      github.com/matttproud/prometheus/storage/raw/leveldb    0.013s
ok      github.com/matttproud/prometheus/utility    0.013s
?       github.com/matttproud/prometheus/utility/test   [no test files]

The LevelDB stochastic tests could take a long time.

Original:
```
Matt:prometheus mtp$ make test
make -C model
protoc --go_out=generated/ data.proto
go build ./...
go test ./...
warning: building out-of-date packages:
	github.com/matttproud/golang_instrumentation/maths
	github.com/matttproud/golang_instrumentation/utility
	github.com/matttproud/golang_instrumentation/metrics
	github.com/matttproud/golang_instrumentation
installing these packages with 'go test -i ./...' will speed future tests.

?   	github.com/matttproud/prometheus	[no test files]
?   	github.com/matttproud/prometheus/coding	[no test files]
ok  	github.com/matttproud/prometheus/coding/indexable	0.012s
?   	github.com/matttproud/prometheus/model	[no test files]
?   	github.com/matttproud/prometheus/model/generated	[no test files]
?   	github.com/matttproud/prometheus/retrieval	[no test files]
?   	github.com/matttproud/prometheus/storage/metric	[no test files]
ok  	github.com/matttproud/prometheus/storage/metric/leveldb	70.800s
?   	github.com/matttproud/prometheus/storage/raw	[no test files]
?   	github.com/matttproud/prometheus/storage/raw/index	[no test files]
ok  	github.com/matttproud/prometheus/storage/raw/index/leveldb	0.012s
ok  	github.com/matttproud/prometheus/storage/raw/leveldb	0.016s
ok  	github.com/matttproud/prometheus/utility	0.012s
?   	github.com/matttproud/prometheus/utility/test	[no test files]
```

to

```
Matt:prometheus mtp$ make test
make -C model
protoc --go_out=generated/ data.proto
go build ./...
go test ./...
warning: building out-of-date packages:
	github.com/matttproud/golang_instrumentation/maths
	github.com/matttproud/golang_instrumentation/utility
	github.com/matttproud/golang_instrumentation/metrics
	github.com/matttproud/golang_instrumentation
installing these packages with 'go test -i ./...' will speed future tests.

?   	github.com/matttproud/prometheus	[no test files]
?   	github.com/matttproud/prometheus/coding	[no test files]
ok  	github.com/matttproud/prometheus/coding/indexable	0.011s
?   	github.com/matttproud/prometheus/model	[no test files]
?   	github.com/matttproud/prometheus/model/generated	[no test files]
?   	github.com/matttproud/prometheus/retrieval	[no test files]
?   	github.com/matttproud/prometheus/storage/metric	[no test files]
ok  	github.com/matttproud/prometheus/storage/metric/leveldb	2.158s
?   	github.com/matttproud/prometheus/storage/raw	[no test files]
?   	github.com/matttproud/prometheus/storage/raw/index	[no test files]
ok  	github.com/matttproud/prometheus/storage/raw/index/leveldb	0.013s
ok  	github.com/matttproud/prometheus/storage/raw/leveldb	0.013s
ok  	github.com/matttproud/prometheus/utility	0.013s
?   	github.com/matttproud/prometheus/utility/test	[no test files]
```
@ghost ghost assigned juliusv Jan 4, 2013
@juliusv
Copy link
Member

juliusv commented Jan 4, 2013

👍

juliusv added a commit that referenced this pull request Jan 4, 2013
@juliusv juliusv merged commit 65694be into master Jan 4, 2013
juliusv added a commit that referenced this pull request Jan 15, 2013
matttproud added a commit that referenced this pull request Apr 9, 2014
juliusv added a commit that referenced this pull request Apr 9, 2014
Fix documentation after reading via server.
juliusv pushed a commit that referenced this pull request Jun 23, 2016
simonpasquier referenced this pull request in simonpasquier/prometheus Oct 12, 2017
cofyc added a commit to cofyc/prometheus that referenced this pull request Jan 29, 2018
hectorj2f pushed a commit to hectorj2f/prometheus that referenced this pull request Apr 27, 2018
Depend on dcos-commons snapshot
bobmshannon pushed a commit to bobmshannon/prometheus that referenced this pull request Nov 19, 2018
bobmshannon pushed a commit to bobmshannon/prometheus that referenced this pull request Nov 19, 2018
Squashed commit of the following:

commit 2e0b52a1dcb6d0bcacbc75c9161ceeee665dbc38
Author: Bob Shannon <bshannon@palantir.com>
Date:   Wed May 16 20:43:50 2018 -0400

    Discover all targets if not specified

commit af5e89eb06189deccd0a0697d82ff65d29421ce4
Author: Bob Shannon <bshannon@palantir.com>
Date:   Wed May 16 17:11:26 2018 -0400

    Fix alertmanager config and add params support to scrape targets
    Squashed commit of the following:

    commit b7064ca91e39c6ad858a2245015b28a5774ade0c
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:54:23 2018 -0400

        alertmanager tls

    commit 4cb5a28df6d237a355fedb72225e9ae8b1737c5f
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:49:43 2018 -0400

        tweak

    commit 8f62dfc16a2457775778a5406803f2153557c67d
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:44:47 2018 -0400

        tweak

    commit 97809426670ed55241c4b9c90837baab05799d49
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:41:35 2018 -0400

        tweak

    commit 2e0fb8e353a7cd80e371040facb7a7354e7442e1
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:31:01 2018 -0400

        Spacing

    commit e625c4d604f89e709a26e0b8bba6fdab852df435
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:24:07 2018 -0400

        Spacing

    commit 9584aca05288cd57555dafd7190bb86d9478ce49
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:22:19 2018 -0400

        Spacing

    commit 9125c93f71928ed4a70b2a4fa94b49682e970c99
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:12:48 2018 -0400

        Lint

    commit 95e167b3626455551b471236dac1ee8a6018a73a
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 16:11:02 2018 -0400

        Spacing

    commit a618040016ef17c069266a1c621fd96a9d992da5
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:59:58 2018 -0400

        Spacing

    commit 77f08e5913808c4210c9f991887a7dcca1eddc7e
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:49:07 2018 -0400

        more spacing

    commit 36de3708078876185aa50794f5eb792e8d991efa
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:44:54 2018 -0400

        More spacing

    commit ed1d59673611a70a4633cd07b23d0b9affc86279
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:41:48 2018 -0400

        Config spacing

    commit e0ed5d5974978261d64729106eb4659c3b809408
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:32:07 2018 -0400

        Update logrotate version

    commit 252b4b977b73cddc9738f9cd17ff9c87b98229d8
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:26:00 2018 -0400

        Fix alertmanager path

    commit 441d1dd3fa0717077bd4592fed609c028da45d14
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:22:22 2018 -0400

        Indentation

    commit e3ab07fa0463fd2fb0ba45a374ae01b0072d6a6e
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 15:09:27 2018 -0400

        Syntax

    commit f51bf1cdd8e5c551c9de641f117a0326f8a41ec6
    Author: Bob Shannon <bshannon@palantir.com>
    Date:   Wed May 16 14:59:42 2018 -0400

        Add support for params in scrape config

commit 65bcc947626d7f221672a80454a4c9f614fab552
Author: Bob Shannon <bshannon@palantir.com>
Date:   Thu May 10 13:42:14 2018 -0400

    Discover alert rules file generated by rulemanager (prometheus#3)

commit e884e2cb39071c11dbf3271d6e9fd0c7cbc5da1b
Author: Bob Shannon <bshannon@palantir.com>
Date:   Tue May 8 14:59:46 2018 -0400

    Update circle.yml

commit abf006836a8f92bbf1f099866e2417a948912533
Author: Bob Shannon <bshannon@palantir.com>
Date:   Tue May 8 11:43:12 2018 -0400

    Update circle.yml

commit 0fa00fb1b2b12e76fe4645cc0878b7de57c12b2a
Author: Marcos David <mdavid@palantir.com>
Date:   Tue May 8 16:26:52 2018 +0100

    Fix for logrotation as per SRX/haruspex-platform#24 (prometheus#2)

    * Fix for logrotation as per SRX/haruspex-platform#24

commit 469ed98dabffa7d28fb18838cefa2ec1706e5b26
Author: Bob Shannon <bshannon@palantir.com>
Date:   Fri May 4 12:20:04 2018 -0400

    Update and rename .approval.yml to .approver.yml

commit c562ce8fdb49e48a93eb524ff23c5fa6994790ab
Author: Bob Shannon <bshannon@palantir.com>
Date:   Fri May 4 12:08:00 2018 -0400

    Create .approval.yml
xuzhaokui pushed a commit to xuzhaokui/prometheus-opensource that referenced this pull request Feb 18, 2020
KeyOfSpectator pushed a commit to KeyOfSpectator/prometheus that referenced this pull request Mar 24, 2021
alanprot referenced this pull request in alanprot/prometheus Jan 25, 2022
Smithx10 pushed a commit to Smithx10/prometheus that referenced this pull request Feb 8, 2022
Smithx10 pushed a commit to Smithx10/prometheus that referenced this pull request Feb 8, 2022
saswatamcode pushed a commit to saswatamcode/prometheus that referenced this pull request Jun 17, 2024
ywwg added a commit to ywwg/prometheus that referenced this pull request Aug 1, 2024
# This is the 1st commit message:

manual patching

# The commit message prometheus#2 will be skipped:

# fix proto field collision

# The commit message prometheus#3 will be skipped:

# need to add utf8_names to both protos

# The commit message prometheus#4 will be skipped:

# hmmmm
ywwg added a commit to ywwg/prometheus that referenced this pull request Aug 1, 2024
# This is the 1st commit message:

manual patching

# The commit message prometheus#2 will be skipped:

# fix proto field collision

# The commit message prometheus#3 will be skipped:

# need to add utf8_names to both protos

# The commit message prometheus#4 will be skipped:

# hmmmm
@juanpc2018 juanpc2018 mentioned this pull request Aug 22, 2024
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants