Skip to content

Commit 99981f8

Browse files
Fix typos (#9783)
Co-authored-by: Eddú Meléndez Gonzales <[email protected]>
1 parent df40cd8 commit 99981f8

File tree

26 files changed

+47
-47
lines changed

26 files changed

+47
-47
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
## [1.1.8] - 2017-01-22
282282
### Fixed
283283
- Compatibility fixes for Docker for Mac v1.13.0 ([\#272](https://github.com/testcontainers/testcontainers-java/issues/272))
284-
- Relax docker environment disk space check to accomodate unusual empty `df` output observed on Docker for Mac with OverlayFS ([\#273](https://github.com/testcontainers/testcontainers-java/issues/273), [\#278](https://github.com/testcontainers/testcontainers-java/issues/278))
284+
- Relax docker environment disk space check to accommodate unusual empty `df` output observed on Docker for Mac with OverlayFS ([\#273](https://github.com/testcontainers/testcontainers-java/issues/273), [\#278](https://github.com/testcontainers/testcontainers-java/issues/278))
285285
- Fix inadvertent private-scoping of startup checks' `StartupStatus`, which made implementation of custom startup checks impossible ([\#266](https://github.com/testcontainers/testcontainers-java/issues/266))
286286
- Fix potential resource lead/deadlock when errors are encountered building images from a Dockerfile ([\#274](https://github.com/testcontainers/testcontainers-java/issues/274))
287287

core/src/main/java/org/testcontainers/utility/ResourceReaper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ static class FilterRegistry {
368368
* Registers the given filters with Ryuk
369369
*
370370
* @param filters the filter to register
371-
* @return true if the filters have been registered successfuly, false otherwise
371+
* @return true if the filters have been registered successfully, false otherwise
372372
* @throws IOException if communication with Ryuk fails
373373
*/
374374
protected boolean register(List<Map.Entry<String, String>> filters) throws IOException {

core/src/test/java/org/testcontainers/junit/DependenciesTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void shouldWorkWithSimpleDependency() {
3737
}
3838

3939
@Test
40-
public void shouldWorkWithMutlipleDependencies() {
40+
public void shouldWorkWithMultipleDependencies() {
4141
InvocationCountingStartable startable1 = new InvocationCountingStartable();
4242
InvocationCountingStartable startable2 = new InvocationCountingStartable();
4343

core/src/test/java/org/testcontainers/utility/LazyFutureTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
public class LazyFutureTest {
2222

2323
@Test
24-
public void testLazyness() throws Exception {
24+
public void testLaziness() throws Exception {
2525
AtomicInteger counter = new AtomicInteger();
2626

2727
Future<Integer> lazyFuture = new LazyFuture<Integer>() {

docs/contributing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
* Star the project on [Github](https://github.com/testcontainers/testcontainers-java) and help spread the word :)
3+
* Star the project on [GitHub](https://github.com/testcontainers/testcontainers-java) and help spread the word :)
44
* Join our [Slack workspace](http://slack.testcontainers.org)
55
* [Start a discussion](https://github.com/testcontainers/testcontainers-java/discussions) if you have an idea, find a possible bug or have a general question.
66
* Contribute improvements or fixes using a [Pull Request](https://github.com/testcontainers/testcontainers-java/pulls). If you're going to contribute, thank you! Please just be sure to:
@@ -97,7 +97,7 @@ We will evaluate incubating modules periodically, and remove the label when appr
9797
Since we generally get a lot of Dependabot PRs, we regularly combine them into single commits.
9898
For this, we are using the [gh-combine-prs](https://github.com/rnorth/gh-combine-prs) extension for [GitHub CLI](https://cli.github.com/).
9999

100-
The whole process is as follow:
100+
The whole process is as follows:
101101

102102
1. Check that all open Dependabot PRs did succeed their build. If they did not succeed, trigger a rerun if the cause were external factors or else document the reason if obvious.
103103
2. Run the extension from an up-to-date local `main` branch: `gh combine-prs --query "author:app/dependabot"`

docs/contributing_docs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ foo.doSomething();
8484

8585
Note that:
8686

87-
* Any code included will be have its indentation reduced
87+
* Any code included will have its indentation reduced
8888
* Every line in the source file will be searched for an instance of the token (e.g. `doFoo`). If more than one line
8989
includes that token, then potentially more than one block could be targeted for inclusion. It is advisable to use a
9090
specific, unique token to avoid unexpected behaviour.

docs/modules/azure.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CosmosDBEmulatorContainer | [mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emula
2222
Start Azurite Emulator during a test:
2323

2424
<!--codeinclude-->
25-
[Starting a Azurite container](../../modules/azure/src/test/java/org/testcontainers/azure/AzuriteContainerTest.java) inside_block:emulatorContainer
25+
[Starting an Azurite container](../../modules/azure/src/test/java/org/testcontainers/azure/AzuriteContainerTest.java) inside_block:emulatorContainer
2626
<!--/codeinclude-->
2727

2828
!!! note
@@ -32,11 +32,11 @@ If the tested application needs to use more than one set of credentials, the con
3232
Please see some examples below.
3333

3434
<!--codeinclude-->
35-
[Starting a Azurite Blob container with one account and two keys](../../modules/azure/src/test/java/org/testcontainers/azure/AzuriteContainerTest.java) inside_block:withTwoAccountKeys
35+
[Starting an Azurite Blob container with one account and two keys](../../modules/azure/src/test/java/org/testcontainers/azure/AzuriteContainerTest.java) inside_block:withTwoAccountKeys
3636
<!--/codeinclude-->
3737

3838
<!--codeinclude-->
39-
[Starting a Azurite Blob container with more accounts and keys](../../modules/azure/src/test/java/org/testcontainers/azure/AzuriteContainerTest.java) inside_block:withMoreAccounts
39+
[Starting an Azurite Blob container with more accounts and keys](../../modules/azure/src/test/java/org/testcontainers/azure/AzuriteContainerTest.java) inside_block:withMoreAccounts
4040
<!--/codeinclude-->
4141

4242
#### Using with Blob
@@ -140,7 +140,7 @@ Configure the sender and the processor clients:
140140
Start Azure CosmosDB Emulator during a test:
141141

142142
<!--codeinclude-->
143-
[Starting a Azure CosmosDB Emulator container](../../modules/azure/src/test/java/org/testcontainers/containers/CosmosDBEmulatorContainerTest.java) inside_block:emulatorContainer
143+
[Starting an Azure CosmosDB Emulator container](../../modules/azure/src/test/java/org/testcontainers/containers/CosmosDBEmulatorContainerTest.java) inside_block:emulatorContainer
144144
<!--/codeinclude-->
145145

146146
Prepare KeyStore to use for SSL.

docs/modules/databases/jdbc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ By default database container is being stopped as soon as last connection is clo
135135

136136
`jdbc:tc:mysql:8.0.36:///databasename?TC_DAEMON=true`
137137

138-
With this parameter database container will keep running even when there're no open connections.
138+
With this parameter database container will keep running even when there's no open connections.
139139
140140
141141
### Running container with tmpfs options

docs/modules/kafka.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Now your tests or any other process running on your machine can get access to ru
4343
Create a `ConfluentKafkaContainer` to use it in your tests:
4444

4545
<!--codeinclude-->
46-
[Creating a ConlfuentKafkaContainer](../../modules/kafka/src/test/java/org/testcontainers/kafka/ConfluentKafkaContainerTest.java) inside_block:constructorWithVersion
46+
[Creating a ConfluentKafkaContainer](../../modules/kafka/src/test/java/org/testcontainers/kafka/ConfluentKafkaContainerTest.java) inside_block:constructorWithVersion
4747
<!--/codeinclude-->
4848

4949
### Using org.testcontainers.kafka.KafkaContainer

docs/modules/typesense.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Testcontainers module for [Typesense](https://hub.docker.com/r/typesense/typesen
44

55
## TypesenseContainer's usage examples
66

7-
You can start an Typesense container instance from any Java application by using:
7+
You can start a Typesense container instance from any Java application by using:
88

99
<!--codeinclude-->
1010
[Typesense container](../../modules/typesense/src/test/java/org/testcontainers/typesense/TypesenseContainerTest.java) inside_block:container

docs/test_framework_integration/junit_5.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Since this module has a dependency onto JUnit Jupiter and on Testcontainers core
6262
has a dependency onto JUnit 4.x, projects using this module will end up with both, JUnit Jupiter
6363
and JUnit 4.x in the test classpath.
6464

65-
This extension has only be tested with sequential test execution. Using it with parallel test execution is unsupported and may have unintended side effects.
65+
This extension has only been tested with sequential test execution. Using it with parallel test execution is unsupported and may have unintended side effects.
6666

6767
## Adding Testcontainers JUnit 5 support to your project dependencies
6868

modules/cassandra/src/test/resources/cassandra-auth-required-configuration/cassandra.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ commit_failure_policy: stop
250250
#
251251
# Valid values are either "auto" (omitting the value) or a value greater 0.
252252
#
253-
# Note that specifying a too large value will result in long running GCs and possbily
253+
# Note that specifying a too large value will result in long running GCs and possibly
254254
# out-of-memory errors. Keep the value at a small fraction of the heap.
255255
#
256256
# If you constantly see "prepared statements discarded in the last minute because
@@ -259,7 +259,7 @@ commit_failure_policy: stop
259259
# i.e. use bind markers for variable parts.
260260
#
261261
# Do only change the default value, if you really have more prepared statements than
262-
# fit in the cache. In most cases it is not neccessary to change this value.
262+
# fit in the cache. In most cases it is not necessary to change this value.
263263
# Constantly re-preparing statements is a performance penalty.
264264
#
265265
# Default value ("auto") is 1/256th of the heap or 10MB, whichever is greater
@@ -309,7 +309,7 @@ key_cache_save_period: 14400
309309
# Fully off-heap row cache implementation (default).
310310
#
311311
# org.apache.cassandra.cache.SerializingCacheProvider
312-
# This is the row cache implementation availabile
312+
# This is the row cache implementation available
313313
# in previous releases of Cassandra.
314314
# row_cache_class_name: org.apache.cassandra.cache.OHCProvider
315315

@@ -444,7 +444,7 @@ concurrent_counter_writes: 32
444444
concurrent_materialized_view_writes: 32
445445

446446
# Maximum memory to use for sstable chunk cache and buffer pooling.
447-
# 32MB of this are reserved for pooling buffers, the rest is used as an
447+
# 32MB of this are reserved for pooling buffers, the rest is used as a
448448
# cache that holds uncompressed sstable chunks.
449449
# Defaults to the smaller of 1/4 of heap or 512MB. This pool is allocated off-heap,
450450
# so is in addition to the memory allocated for heap. The cache also has on-heap
@@ -553,7 +553,7 @@ memtable_allocation_type: heap_buffers
553553
# new space for cdc-tracked tables has been made available. Default to 250ms
554554
# cdc_free_space_check_interval_ms: 250
555555

556-
# A fixed memory pool size in MB for for SSTable index summaries. If left
556+
# A fixed memory pool size in MB for SSTable index summaries. If left
557557
# empty, this will default to 5% of the heap size. If the memory usage of
558558
# all index summaries exceeds this limit, SSTables with low read rates will
559559
# shrink their index summaries in order to meet this limit. However, this
@@ -778,7 +778,7 @@ auto_snapshot: true
778778
# number of rows per partition. The competing goals are these:
779779
#
780780
# - a smaller granularity means more index entries are generated
781-
# and looking up rows withing the partition by collation column
781+
# and looking up rows within the partition by collation column
782782
# is faster
783783
# - but, Cassandra will keep the collation index in memory for hot
784784
# rows (as part of the key cache), so a larger granularity means
@@ -1109,7 +1109,7 @@ windows_timer_interval: 1
11091109

11101110
# Enables encrypting data at-rest (on disk). Different key providers can be plugged in, but the default reads from
11111111
# a JCE-style keystore. A single keystore can hold multiple keys, but the one referenced by
1112-
# the "key_alias" is the only key that will be used for encrypt opertaions; previously used keys
1112+
# the "key_alias" is the only key that will be used for encrypt operations; previously used keys
11131113
# can still (and should!) be in the keystore and will be used on decrypt operations
11141114
# (to handle the case of key rotation).
11151115
#
@@ -1143,7 +1143,7 @@ transparent_data_encryption_options:
11431143
# tombstones seen in memory so we can return them to the coordinator, which
11441144
# will use them to make sure other replicas also know about the deleted rows.
11451145
# With workloads that generate a lot of tombstones, this can cause performance
1146-
# problems and even exaust the server heap.
1146+
# problems and even exhaust the server heap.
11471147
# (http://www.datastax.com/dev/blog/cassandra-anti-patterns-queues-and-queue-like-datasets)
11481148
# Adjust the thresholds here if you understand the dangers and want to
11491149
# scan more tombstones anyway. These thresholds may also be adjusted at runtime

modules/cassandra/src/test/resources/cassandra-test-configuration-example/cassandra.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ commit_failure_policy: stop
250250
#
251251
# Valid values are either "auto" (omitting the value) or a value greater 0.
252252
#
253-
# Note that specifying a too large value will result in long running GCs and possbily
253+
# Note that specifying a too large value will result in long running GCs and possibly
254254
# out-of-memory errors. Keep the value at a small fraction of the heap.
255255
#
256256
# If you constantly see "prepared statements discarded in the last minute because
@@ -259,7 +259,7 @@ commit_failure_policy: stop
259259
# i.e. use bind markers for variable parts.
260260
#
261261
# Do only change the default value, if you really have more prepared statements than
262-
# fit in the cache. In most cases it is not neccessary to change this value.
262+
# fit in the cache. In most cases it is not necessary to change this value.
263263
# Constantly re-preparing statements is a performance penalty.
264264
#
265265
# Default value ("auto") is 1/256th of the heap or 10MB, whichever is greater
@@ -309,7 +309,7 @@ key_cache_save_period: 14400
309309
# Fully off-heap row cache implementation (default).
310310
#
311311
# org.apache.cassandra.cache.SerializingCacheProvider
312-
# This is the row cache implementation availabile
312+
# This is the row cache implementation available
313313
# in previous releases of Cassandra.
314314
# row_cache_class_name: org.apache.cassandra.cache.OHCProvider
315315

@@ -444,7 +444,7 @@ concurrent_counter_writes: 32
444444
concurrent_materialized_view_writes: 32
445445

446446
# Maximum memory to use for sstable chunk cache and buffer pooling.
447-
# 32MB of this are reserved for pooling buffers, the rest is used as an
447+
# 32MB of this are reserved for pooling buffers, the rest is used as a
448448
# cache that holds uncompressed sstable chunks.
449449
# Defaults to the smaller of 1/4 of heap or 512MB. This pool is allocated off-heap,
450450
# so is in addition to the memory allocated for heap. The cache also has on-heap
@@ -553,7 +553,7 @@ memtable_allocation_type: heap_buffers
553553
# new space for cdc-tracked tables has been made available. Default to 250ms
554554
# cdc_free_space_check_interval_ms: 250
555555

556-
# A fixed memory pool size in MB for for SSTable index summaries. If left
556+
# A fixed memory pool size in MB for SSTable index summaries. If left
557557
# empty, this will default to 5% of the heap size. If the memory usage of
558558
# all index summaries exceeds this limit, SSTables with low read rates will
559559
# shrink their index summaries in order to meet this limit. However, this
@@ -778,7 +778,7 @@ auto_snapshot: true
778778
# number of rows per partition. The competing goals are these:
779779
#
780780
# - a smaller granularity means more index entries are generated
781-
# and looking up rows withing the partition by collation column
781+
# and looking up rows within the partition by collation column
782782
# is faster
783783
# - but, Cassandra will keep the collation index in memory for hot
784784
# rows (as part of the key cache), so a larger granularity means
@@ -1109,7 +1109,7 @@ windows_timer_interval: 1
11091109

11101110
# Enables encrypting data at-rest (on disk). Different key providers can be plugged in, but the default reads from
11111111
# a JCE-style keystore. A single keystore can hold multiple keys, but the one referenced by
1112-
# the "key_alias" is the only key that will be used for encrypt opertaions; previously used keys
1112+
# the "key_alias" is the only key that will be used for encrypt operations; previously used keys
11131113
# can still (and should!) be in the keystore and will be used on decrypt operations
11141114
# (to handle the case of key rotation).
11151115
#
@@ -1143,7 +1143,7 @@ transparent_data_encryption_options:
11431143
# tombstones seen in memory so we can return them to the coordinator, which
11441144
# will use them to make sure other replicas also know about the deleted rows.
11451145
# With workloads that generate a lot of tombstones, this can cause performance
1146-
# problems and even exaust the server heap.
1146+
# problems and even exhaust the server heap.
11471147
# (http://www.datastax.com/dev/blog/cassandra-anti-patterns-queues-and-queue-like-datasets)
11481148
# Adjust the thresholds here if you understand the dangers and want to
11491149
# scan more tombstones anyway. These thresholds may also be adjusted at runtime

modules/consul/src/main/java/org/testcontainers/consul/ConsulContainer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private void runConsulCommands() {
9191
/**
9292
* Run consul commands using the consul cli.
9393
*
94-
* Useful for enableing more secret engines like:
94+
* Useful for enabling more secret engines like:
9595
* <pre>
9696
* .withConsulCommand("secrets enable pki")
9797
* .withConsulCommand("secrets enable transit")

modules/cratedb/src/test/java/org/testcontainers/junit/cratedb/SimpleCrateDBTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void testCommandOverride() throws SQLException {
4040

4141
ResultSet resultSet = performQuery(cratedb, "select name from sys.cluster");
4242
String result = resultSet.getString(1);
43-
assertThat(result).as("cluster name should be overriden").isEqualTo("testcontainers");
43+
assertThat(result).as("cluster name should be overridden").isEqualTo("testcontainers");
4444
}
4545
}
4646

modules/db2/src/main/java/org/testcontainers/containers/Db2Container.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ protected Set<Integer> getLivenessCheckPorts() {
7979

8080
@Override
8181
protected void configure() {
82-
// If license was not accepted programatically, check if it was accepted via resource file
82+
// If license was not accepted programmatically, check if it was accepted via resource file
8383
if (!getEnvMap().containsKey("LICENSE")) {
8484
LicenseAcceptance.assertLicenseAccepted(this.getDockerImageName());
8585
acceptLicense();

modules/mariadb/src/test/java/org/testcontainers/junit/mariadb/SimpleMariaDBTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void testMariaDBWithCommandOverride() throws SQLException {
7979
ResultSet resultSet = performQuery(mariadbCustomConfig, "show variables like 'auto_increment_increment'");
8080
String result = resultSet.getString("Value");
8181

82-
assertThat(result).as("Auto increment increment should be overriden by command line").isEqualTo("10");
82+
assertThat(result).as("Auto increment increment should be overridden by command line").isEqualTo("10");
8383
}
8484
}
8585

modules/mssqlserver/src/main/java/org/testcontainers/containers/MSSQLServerContainer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public Set<Integer> getLivenessCheckPortNumbers() {
7272

7373
@Override
7474
protected void configure() {
75-
// If license was not accepted programatically, check if it was accepted via resource file
75+
// If license was not accepted programmatically, check if it was accepted via resource file
7676
if (!getEnvMap().containsKey("ACCEPT_EULA")) {
7777
LicenseAcceptance.assertLicenseAccepted(this.getDockerImageName());
7878
acceptLicense();

modules/mysql/src/test/java/org/testcontainers/junit/mysql/SimpleMySQLTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void testCommandOverride() throws SQLException {
9191
ResultSet resultSet = performQuery(mysqlCustomConfig, "show variables like 'auto_increment_increment'");
9292
String result = resultSet.getString("Value");
9393

94-
assertThat(result).as("Auto increment increment should be overriden by command line").isEqualTo("42");
94+
assertThat(result).as("Auto increment increment should be overridden by command line").isEqualTo("42");
9595
}
9696
}
9797

modules/postgresql/src/test/java/org/testcontainers/containers/TimescaleDBContainerTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void testCommandOverride() throws SQLException {
3535
"SELECT current_setting('max_connections')"
3636
);
3737
String result = resultSet.getString(1);
38-
assertThat(result).as("max_connections should be overriden").isEqualTo("42");
38+
assertThat(result).as("max_connections should be overridden").isEqualTo("42");
3939
}
4040
}
4141

@@ -54,7 +54,7 @@ public void testUnsetCommand() throws SQLException {
5454
"SELECT current_setting('max_connections')"
5555
);
5656
String result = resultSet.getString(1);
57-
assertThat(result).as("max_connections should not be overriden").isNotEqualTo("42");
57+
assertThat(result).as("max_connections should not be overridden").isNotEqualTo("42");
5858
}
5959
}
6060

0 commit comments

Comments
 (0)