fix Continous typo

This commit is contained in:
GoodDaisy 2023-10-26 20:26:45 +08:00
parent e073f7a881
commit 65473d8c15
7 changed files with 7 additions and 7 deletions

View File

@ -82,5 +82,5 @@ public static class CoreInterfaceExtensions
} }
``` ```
The primary reason to decouple deploying and wrapping functionalities is that some use cases require these steps to be performed by separate applications, and different moments in time. For this reason, whatever is returned by the deploy methods should be serializable. After deserialization at some later time, it should then be valid input for the wrap method. The Codex continuous tests system is a clear example of this use case: The `CodexNetDeployer` tool uses deploy methods to create Codex nodes. Then it writes the returned objects to a JSON file. Some time later, the `CodexContinousTests` application uses this JSON file to reconstruct the objects created by the deploy methods. It then uses the wrap methods to create accessors and interactors, which are used for testing. The primary reason to decouple deploying and wrapping functionalities is that some use cases require these steps to be performed by separate applications, and different moments in time. For this reason, whatever is returned by the deploy methods should be serializable. After deserialization at some later time, it should then be valid input for the wrap method. The Codex continuous tests system is a clear example of this use case: The `CodexNetDeployer` tool uses deploy methods to create Codex nodes. Then it writes the returned objects to a JSON file. Some time later, the `CodexContinuousTests` application uses this JSON file to reconstruct the objects created by the deploy methods. It then uses the wrap methods to create accessors and interactors, which are used for testing.

View File

@ -21,7 +21,7 @@ Do you want to write some tests using this distributed test setup? Great! Here's
1. When using the auto-bootstrap, you have no control over the bootstrap node from your tests. You can't (for example) shut it down during the course of the test. If you need this level of control for your scenario, use the `CodexDistTest` instead. 1. When using the auto-bootstrap, you have no control over the bootstrap node from your tests. You can't (for example) shut it down during the course of the test. If you need this level of control for your scenario, use the `CodexDistTest` instead.
1. If your test needs a long time to run, add the `[UseLongTimeouts]` function attribute. This will greatly increase maximum time-out values for operations like for example uploading and downloading files. 1. If your test needs a long time to run, add the `[UseLongTimeouts]` function attribute. This will greatly increase maximum time-out values for operations like for example uploading and downloading files.
### Continuous tests ### Continuous tests
1. Add new code files to `Tests/CodexContinousTests/Tests` 1. Add new code files to `Tests/CodexContinuousTests/Tests`
1. Inherrit from `ContinuousTest` 1. Inherrit from `ContinuousTest`
1. Define one or more methods and decorate them with the `[TestMoment(...)]` attribute. 1. Define one or more methods and decorate them with the `[TestMoment(...)]` attribute.
1. The TestMoment takes a number of seconds as argument. Each moment will be executed by the continuous test runner applying the given seconds as delay. (Non-cumulative. So two moments at T:10 will be executed one after another without delay, in this case the order of execution should not be depended upon.) 1. The TestMoment takes a number of seconds as argument. Each moment will be executed by the continuous test runner applying the given seconds as delay. (Non-cumulative. So two moments at T:10 will be executed one after another without delay, in this case the order of execution should not be depended upon.)

View File

@ -12,7 +12,7 @@ Nethereum: v4.14.0
These are test assemblies that use NUnit3 to perform tests against transient Codex nodes. These are test assemblies that use NUnit3 to perform tests against transient Codex nodes.
Read more [HERE](/Tests/CodexTests/README.md) Read more [HERE](/Tests/CodexTests/README.md)
## Tests/ContinousTests ## Tests/ContinuousTests
A console application that runs tests in an endless loop against a persistent deployment of Codex nodes. A console application that runs tests in an endless loop against a persistent deployment of Codex nodes.
Read more [HERE](/Tests/CodexContinuousTests/README.md) Read more [HERE](/Tests/CodexContinuousTests/README.md)

View File

@ -4,7 +4,7 @@ public class Program
{ {
public static void Main(string[] args) public static void Main(string[] args)
{ {
Console.WriteLine("Codex Continous-Test-Runner."); Console.WriteLine("Codex Continuous-Test-Runner.");
var runner = new ContinuousTestRunner(args, Cancellation.Cts.Token); var runner = new ContinuousTestRunner(args, Cancellation.Cts.Token);

View File

@ -13,7 +13,7 @@ Report for: 08-2023
(Stopped: The number of tests that can successfully run on the test-net is not high enough to justify the cost of leaving it running.) (Stopped: The number of tests that can successfully run on the test-net is not high enough to justify the cost of leaving it running.)
## Deployment Configuration ## Deployment Configuration
Continous Test-net is deployed to the kubernetes cluster with the following configuration: Continuous Test-net is deployed to the kubernetes cluster with the following configuration:
5x Codex Nodes: 5x Codex Nodes:
- Log-level: Trace - Log-level: Trace

View File

@ -11,7 +11,7 @@ Report for: 07-2023
(Faulted: Tests fail with such frequency that the information gathered does not justify the cost of leaving the test-net running.) (Faulted: Tests fail with such frequency that the information gathered does not justify the cost of leaving the test-net running.)
## Deployment Configuration ## Deployment Configuration
Continous Test-net is deployed to the kubernetes cluster with the following configuration: Continuous Test-net is deployed to the kubernetes cluster with the following configuration:
5x Codex Nodes: 5x Codex Nodes:
- Log-level: Trace - Log-level: Trace

View File

@ -11,7 +11,7 @@ Report for: 09-2023
(Stopped: The number of tests that can successfully run on the test-net is not high enough to justify the cost of leaving it running.) (Stopped: The number of tests that can successfully run on the test-net is not high enough to justify the cost of leaving it running.)
## Deployment Configuration ## Deployment Configuration
Continous Test-net is deployed to the kubernetes cluster with the following configuration: Continuous Test-net is deployed to the kubernetes cluster with the following configuration:
5x Codex Nodes: 5x Codex Nodes:
- Log-level: Trace - Log-level: Trace