tests: Spelling fixes
Correct typos of the following word families: mounting jitterbuffer thrashing original manipulating entries actual possibility tasks options positives taskprocessor other dynamic declarative ASTERISK-29714 Change-Id: I6b94659d045eec5d8d020fce2e9b6e2f593dfeb6
This commit is contained in:
parent
3bf314d643
commit
e54a9d31f1
|
@ -8,7 +8,7 @@
|
|||
* pipeline, you can define the trigger in the pipeline file. This keeps
|
||||
* everything in one place. We transition to scripted pipeline later on because
|
||||
* we need to dynamically determine which docker image we're going to use and
|
||||
* you can't do that in a delcarative pipeline.
|
||||
* you can't do that in a declarative pipeline.
|
||||
*/
|
||||
def timeoutTime = 60
|
||||
def timeoutUnits = 'MINUTES'
|
||||
|
@ -139,7 +139,7 @@ pipeline {
|
|||
def r = currentBuild.startTimeInMillis % images.length
|
||||
def ri = images[(int)r]
|
||||
def randomImage = env.DOCKER_REGISTRY + "/" + ri
|
||||
/* FYI... Jenkins takes care of mouting the workspace for the container */
|
||||
/* FYI... Jenkins takes care of mounting the workspace for the container */
|
||||
def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
|
||||
" --tmpfs /tmp:exec,size=1G -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
|
||||
" --entrypoint=''"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* pipeline, you can define the trigger in the pipeline file. This keeps
|
||||
* everything in one place. We transition to scripted pipeline later on because
|
||||
* we need to dynamically determine which docker image we're going to use and
|
||||
* you can't do that in a delcarative pipeline.
|
||||
* you can't do that in a declarative pipeline.
|
||||
*/
|
||||
def timeoutTime = 3
|
||||
def timeoutUnits = 'HOURS'
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* pipeline, you can define the trigger in the pipeline file. This keeps
|
||||
* everything in one place. We transition to scripted pipeline later on because
|
||||
* we need to dynamically determine which docker image we're going to use and
|
||||
* you can't do that in a delcarative pipeline.
|
||||
* you can't do that in a declarative pipeline.
|
||||
*/
|
||||
def timeoutTime = 24
|
||||
def timeoutUnits = 'HOURS'
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* pipeline, you can define the trigger in the pipeline file. This keeps
|
||||
* everything in one place. We transition to scripted pipeline later on because
|
||||
* we need to dynamically determine which docker image we're going to use and
|
||||
* you can't do that in a delcarative pipeline.
|
||||
* you can't do that in a declarative pipeline.
|
||||
*/
|
||||
def timeoutTime = 30
|
||||
def timeoutUnits = 'MINUTES'
|
||||
|
|
|
@ -246,7 +246,7 @@ static struct ast_jb default_jb = {
|
|||
info->description = \
|
||||
"This tests putting a single frame into a " literal_type_name " jitterbuffer " \
|
||||
"when the jitterbuffer is empty and verifying that it is indeed " \
|
||||
"the first frame on the jitterbufffer"; \
|
||||
"the first frame on the jitterbuffer"; \
|
||||
return AST_TEST_NOT_RUN; \
|
||||
case TEST_EXECUTE: \
|
||||
break; \
|
||||
|
|
|
@ -453,7 +453,7 @@ AST_TEST_DEFINE(aoc_encode_decode_test)
|
|||
}
|
||||
}
|
||||
|
||||
/* Test every billing id possiblity */
|
||||
/* Test every billing id possibility */
|
||||
{
|
||||
int billid[9] = {
|
||||
AST_AOC_BILLING_NA,
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* \author\verbatim David M. Lee, II <dlee@digium.com> \endverbatim
|
||||
*
|
||||
* Inspired by the original hashtest2.c by Steve Murphy <murf@digium.com>. This test runs
|
||||
* several threads manipulatings a concurrent astobj2 container to see if they maintain
|
||||
* several threads manipulating a concurrent astobj2 container to see if they maintain
|
||||
* consistency. While the tests attempt to check consistency and error normally, threading
|
||||
* errors often result in segfaults.
|
||||
* \ingroup tests
|
||||
|
@ -59,7 +59,7 @@ struct hash_test {
|
|||
struct ao2_container *to_be_thrashed;
|
||||
/*! Number of entries to insert in the grow thread. */
|
||||
int max_grow;
|
||||
/*! Number of enteries added by the grow thread. */
|
||||
/*! Number of entries added by the grow thread. */
|
||||
int grow_count;
|
||||
/*! Entries preloaded into the hashtab; to be deleted by the shrink thread */
|
||||
int preload;
|
||||
|
|
|
@ -1493,7 +1493,7 @@ AST_TEST_DEFINE(config_options_test)
|
|||
case TEST_INIT:
|
||||
info->name = "config_options_test";
|
||||
info->category = "/config/";
|
||||
info->summary = "Config opptions unit test";
|
||||
info->summary = "Config options unit test";
|
||||
info->description =
|
||||
"Tests the Config Options API";
|
||||
return AST_TEST_NOT_RUN;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* \author\verbatim David M. Lee, II <dlee@digium.com> \endverbatim
|
||||
*
|
||||
* Inspired by the original hashtest.c by Steve Murphy <murf@digium.com>. This test runs
|
||||
* several threads manipulatings a concurrent hastab to see if they maintain
|
||||
* several threads manipulating a concurrent hastab to see if they maintain
|
||||
* consistency. While the tests attempt to check consistency and error normally, threading
|
||||
* errors often result in segfaults.
|
||||
* \ingroup tests
|
||||
|
@ -51,7 +51,7 @@ struct hash_test {
|
|||
struct ast_hashtab *to_be_thrashed;
|
||||
/*! Number of entries to insert in the grow thread. */
|
||||
int max_grow;
|
||||
/*! Number of enteries added by the grow thread. */
|
||||
/*! Number of entries added by the grow thread. */
|
||||
int grow_count;
|
||||
/*! Entries preloaded into the hashtab; to be deleted by the shrink thread */
|
||||
int preload;
|
||||
|
|
|
@ -170,7 +170,7 @@ AST_TEST_DEFINE(exists_off_nominal)
|
|||
info->summary = "Test off nominal existance of resources in the cache";
|
||||
info->description =
|
||||
"This test verifies that checking for bad resources (NULL, bad "
|
||||
"scheme, etc.) does not result in false positivies.";
|
||||
"scheme, etc.) does not result in false positives.";
|
||||
return AST_TEST_NOT_RUN;
|
||||
case TEST_EXECUTE:
|
||||
break;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* \file
|
||||
* \brief Test optional API.
|
||||
*
|
||||
* This tests exercise the underlying implementation functions. Acutal usage
|
||||
* This tests exercise the underlying implementation functions. Actual usage
|
||||
* won't look anything like this; it would use the wrapper macros.
|
||||
*
|
||||
* \author\verbatim David M. Lee, II <dlee@digium.com> \endverbatim
|
||||
|
|
|
@ -842,7 +842,7 @@ AST_TEST_DEFINE(object_copy)
|
|||
ast_test_status_update(test, "A new ast_variable was not created for 'jim'\n");
|
||||
res = AST_TEST_FAIL;
|
||||
} else if (copy->jim == obj->jim) {
|
||||
ast_test_status_update(test, "Created copy of 'jim' is actually the ogirinal 'jim'\n");
|
||||
ast_test_status_update(test, "Created copy of 'jim' is actually the original 'jim'\n");
|
||||
res = AST_TEST_FAIL;
|
||||
} else if (strcmp(copy->jim->value, obj->jim->value)) {
|
||||
ast_test_status_update(test, "Value of 1st 'jim' on newly created copy is not the same as original\n");
|
||||
|
|
|
@ -61,7 +61,7 @@ struct sorcery_memory_cache_thrash_thread {
|
|||
unsigned int average_execution_time;
|
||||
};
|
||||
|
||||
/*! \brief Structure for memory cache thrasing */
|
||||
/*! \brief Structure for memory cache thrashing */
|
||||
struct sorcery_memory_cache_thrash {
|
||||
/*! \brief The sorcery instance being tested */
|
||||
struct ast_sorcery *sorcery;
|
||||
|
@ -160,7 +160,7 @@ static void sorcery_memory_cache_thrash_destroy(void *obj)
|
|||
|
||||
/*!
|
||||
* \internal
|
||||
* \brief Set up thrasing against a memory cache on a sorcery instance
|
||||
* \brief Set up thrashing against a memory cache on a sorcery instance
|
||||
*
|
||||
* \param cache_configuration The sorcery memory cache configuration to use
|
||||
* \param update_threads The number of threads which should be constantly updating sorcery
|
||||
|
|
|
@ -259,7 +259,7 @@ static int consumer_wait_for(struct consumer *consumer, size_t expected_len)
|
|||
if (r == ETIMEDOUT) {
|
||||
break;
|
||||
}
|
||||
ast_assert(r == 0); /* Not expecting any othet types of errors */
|
||||
ast_assert(r == 0); /* Not expecting any other types of errors */
|
||||
}
|
||||
return consumer->messages_rxed_len;
|
||||
}
|
||||
|
@ -280,7 +280,7 @@ static int consumer_wait_for_completion(struct consumer *consumer)
|
|||
if (r == ETIMEDOUT) {
|
||||
break;
|
||||
}
|
||||
ast_assert(r == 0); /* Not expecting any othet types of errors */
|
||||
ast_assert(r == 0); /* Not expecting any other types of errors */
|
||||
}
|
||||
return consumer->complete;
|
||||
}
|
||||
|
@ -306,7 +306,7 @@ static int consumer_should_stay(struct consumer *consumer, size_t expected_len)
|
|||
if (r == ETIMEDOUT) {
|
||||
break;
|
||||
}
|
||||
ast_assert(r == 0); /* Not expecting any othet types of errors */
|
||||
ast_assert(r == 0); /* Not expecting any other types of errors */
|
||||
}
|
||||
return consumer->messages_rxed_len;
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
*
|
||||
* \author Mark Michelson <mmichelson@digium.com>
|
||||
*
|
||||
* This module will run some dyanmic string tests.
|
||||
* This module will run some dynamic string tests.
|
||||
*
|
||||
* \ingroup tests
|
||||
*/
|
||||
|
|
|
@ -139,7 +139,7 @@ AST_TEST_DEFINE(default_taskprocessor)
|
|||
case TEST_INIT:
|
||||
info->name = "default_taskprocessor";
|
||||
info->category = "/main/taskprocessor/";
|
||||
info->summary = "Test of default taskproccesor";
|
||||
info->summary = "Test of default taskprocessor";
|
||||
info->description =
|
||||
"Ensures that a queued task gets executed.";
|
||||
return AST_TEST_NOT_RUN;
|
||||
|
@ -363,7 +363,7 @@ AST_TEST_DEFINE(default_taskprocessor_load)
|
|||
case TEST_INIT:
|
||||
info->name = "default_taskprocessor_load";
|
||||
info->category = "/main/taskprocessor/";
|
||||
info->summary = "Load test of default taskproccesor";
|
||||
info->summary = "Load test of default taskprocessor";
|
||||
info->description =
|
||||
"Ensure that a large number of queued tasks are executed in the proper order.";
|
||||
return AST_TEST_NOT_RUN;
|
||||
|
@ -546,7 +546,7 @@ static int check_stats(struct ast_test *test, const struct test_listener_pvt *pv
|
|||
/*!
|
||||
* \brief Test for a taskprocessor with custom listener.
|
||||
*
|
||||
* This test pushes tasks to a taskprocessor with a custom listener, executes the taskss,
|
||||
* This test pushes tasks to a taskprocessor with a custom listener, executes the tasks,
|
||||
* and destroys the taskprocessor.
|
||||
*
|
||||
* The test ensures that the listener's callbacks are called when expected and that the data
|
||||
|
@ -563,7 +563,7 @@ AST_TEST_DEFINE(taskprocessor_listener)
|
|||
case TEST_INIT:
|
||||
info->name = "taskprocessor_listener";
|
||||
info->category = "/main/taskprocessor/";
|
||||
info->summary = "Test of taskproccesor listeners";
|
||||
info->summary = "Test of taskprocessor listeners";
|
||||
info->description =
|
||||
"Ensures that listener callbacks are called when expected.";
|
||||
return AST_TEST_NOT_RUN;
|
||||
|
@ -760,7 +760,7 @@ AST_TEST_DEFINE(taskprocessor_shutdown)
|
|||
case TEST_INIT:
|
||||
info->name = "taskprocessor_shutdown";
|
||||
info->category = "/main/taskprocessor/";
|
||||
info->summary = "Test of taskproccesor shutdown sequence";
|
||||
info->summary = "Test of taskprocessor shutdown sequence";
|
||||
info->description =
|
||||
"Ensures that all tasks run to completion after the taskprocessor has been unref'ed.";
|
||||
return AST_TEST_NOT_RUN;
|
||||
|
|
Loading…
Reference in New Issue