Skip to content

Rollup of 15 pull requests #38148

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 34 commits into from
Dec 4, 2016
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
dac987e
add regression test for #36168
nikomatsakis Nov 21, 2016
1a91fc6
Add missing examples for Ipv6Addr
GuillaumeGomez Nov 18, 2016
a5049f7
Add ::1 example in IPv6 to IPv4 conversion
GuillaumeGomez Nov 22, 2016
ebcc6d2
Add part of missing UdpSocket's urls and examples
GuillaumeGomez Nov 26, 2016
0bcb05c
Finishing d2f8fb0a0a9dd from @jseyfried
dns2utf8 Nov 27, 2016
2dc3fdf
Resolve visibility issues
dns2utf8 Nov 27, 2016
28b64dc
Use keywords::Invalid
dns2utf8 Nov 27, 2016
72fbf9f
fixup test cases
nikomatsakis Nov 28, 2016
4226930
Show `Trait` instead of `<Struct as Trait>` in E0323
estebank Nov 29, 2016
ffcdc19
bootstrap/README: fix small typo
cardoe Nov 29, 2016
336e5dd
Add missing examples for IpAddr enum
GuillaumeGomez Nov 29, 2016
d21861d
Refactor one_bound_for_assoc_type to take an Iterator instead of Vec.
Mark-Simulacrum Nov 27, 2016
a15d2db
debuginfo: Ignore macro-stepping test on aarch64
michaelwoerister Nov 30, 2016
8e6ae19
Add cloned example for Option
GuillaumeGomez Nov 30, 2016
29a6ffa
incr.comp.: Add more output to -Z incremental-info.
michaelwoerister Nov 30, 2016
d950ca1
Minor fix to testing concurrency section
tarka Dec 1, 2016
57ffda6
add a `-Z incremental-dump-hash` flag
nikomatsakis Dec 1, 2016
ecf6f1b
Update items section in reference
jethrogb Dec 2, 2016
60d1660
Add Component examples
GuillaumeGomez Dec 3, 2016
bf99183
Rollup merge of #37859 - GuillaumeGomez:net_examples, r=nagisa
frewsxcv Dec 3, 2016
8916acc
Rollup merge of #37919 - nikomatsakis:incremental-36168, r=mw
frewsxcv Dec 3, 2016
468ca2c
Rollup merge of #38020 - GuillaumeGomez:udp-socket-doc, r=frewsxcv
frewsxcv Dec 3, 2016
ca0c839
Rollup merge of #38028 - Mark-Simulacrum:polish, r=nikomatsakis
frewsxcv Dec 3, 2016
78c1046
Rollup merge of #38029 - dns2utf8:fix_verify.rs, r=petrochenkov
frewsxcv Dec 3, 2016
9aef89e
Rollup merge of #38065 - estebank:fix-37618, r=jonathandturner
frewsxcv Dec 3, 2016
cf29931
Rollup merge of #38073 - cardoe:fix-typo, r=frewsxcv
frewsxcv Dec 3, 2016
d68c585
Rollup merge of #38077 - GuillaumeGomez:ipaddr_doc, r=frewsxcv
frewsxcv Dec 3, 2016
d0e57b1
Rollup merge of #38089 - michaelwoerister:disable-debuginfo-test-on-a…
frewsxcv Dec 3, 2016
6c327ad
Rollup merge of #38090 - GuillaumeGomez:option_doc, r=frewsxcv
frewsxcv Dec 3, 2016
fa1af0c
Rollup merge of #38096 - michaelwoerister:more-incremental-info, r=ni…
frewsxcv Dec 3, 2016
3231641
Rollup merge of #38112 - tarka:book-testing-fix, r=steveklabnik
frewsxcv Dec 3, 2016
d6281fa
Rollup merge of #38113 - nikomatsakis:incremental-dump-hash, r=michae…
frewsxcv Dec 3, 2016
02ad965
Rollup merge of #38130 - jethrogb:patch-3, r=steveklabnik
frewsxcv Dec 3, 2016
2e038ed
Rollup merge of #38141 - GuillaumeGomez:component_doc, r=frewsxcv
frewsxcv Dec 3, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Minor fix to testing concurrency section
  • Loading branch information
tarka committed Dec 1, 2016
commit d950ca175ab5e7a9827353f9fb7d9d6e3f6e7658
10 changes: 5 additions & 5 deletions src/doc/book/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,11 +589,11 @@ please see the [Documentation chapter](documentation.html).

# Testing and concurrency

One thing that is important to note when writing tests are run concurrently
using threads. For this reason you should take care that your tests are written
in such a way as to not depend on each-other, or on any shared state. "Shared
state" can also include the environment, such as the current working directory,
or environment variables.
One thing that is important to note when writing tests is that they may be run
concurrently using threads. For this reason you should take care that your tests
are written in such a way as to not depend on each-other, or on any shared
state. "Shared state" can also include the environment, such as the current
working directory, or environment variables.

If this is an issue it is possible to control this concurrency, either by
setting the environment variable `RUST_TEST_THREADS`, or by passing the argument
Expand Down