* 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'
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=''"
* 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'
* 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'
* 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'
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; \
}
}
- /* Test every billing id possiblity */
+ /* Test every billing id possibility */
{
int billid[9] = {
AST_AOC_BILLING_NA,
* \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
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;
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;
* \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
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;
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;
* \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
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");
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;
/*!
* \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
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;
}
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;
}
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;
}
*
* \author Mark Michelson <mmichelson@digium.com>
*
- * This module will run some dyanmic string tests.
+ * This module will run some dynamic string tests.
*
* \ingroup tests
*/
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;
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;
/*!
* \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
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;
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;