Query Suggestion Options
Last word completion
Keyboard Layouts
GitHub

👀 While it's loading, feel free to check out the other repositories:

🔔 To get a notification when it's ready, leave your email here:

By entering your email, you agree to receive notifications and marketing-related emails

Filter by reset

25 results 12 ms in manticoresoftware/clt

Implement duration counting

Implementing a duration and the relative percentage for each command in a test seems like a great idea. We can use our existing block syntax and just overlook it during the test: ––– duration: 0.123ms (10.2%) –––

donhardmandonhardman · 2023-12-15 · 2 · #26

enhancement

Tests stuck on MacOS

djklim87djklim87 · 2024-04-23 · 6 · #28

bug

Measure peak mem and CPU time

It looks like it's possible and might be a good idea to add measurement of 'peak memory' and 'CPU time' usage after each command we run, similar to how we track 'duration'. To make this happen, we could try tracking the PID of the bash process we run and …

donhardmandonhardman · 2024-07-25 · 0 · #40

enhancementest::size_M

Possibility to reset mistaken command in record session

It is indeed a great idea to include the option of undoing a mistaken command while we are in recording mode. This can be achieved by implementing a specific key combination that removes the command from the final recorded file. With this feature, we can …

donhardmandonhardman · 2023-10-04 · 0 · #16

enhancement

Checkpointing caching while replay the test

When we run a record file that uses blocks to validate that it works fine, it executes all commands. However, once we add some extra commands or fix the last one, we have to run the whole test again, which wastes significant time in most cases redoing the …

donhardmandonhardman · 2023-10-04 · 0 · #17

enhancement

Support array in test_prefix

In some cases it makes sense to provide multiple entries in test_prefix in the CLT action. Let's add support of arrays in test_prefix .…

sanikolaevsanikolaev · 2024-04-22 · 2 · #32

Add --pause-on-fail option

Adding a "--pause-on-fail" option to the CLI could be a great idea. It would keep the container running and allow us to jump in and debug cases involving race conditions.

donhardmandonhardman · 2024-04-11 · 3 · #29

Dynamic variables for inputs

From: https://gitlab.com/manticoresearch/clt/-/issues/5 While doing a scenario to test mysqldump with combined tasks no mcl, mcl only, mcl id with json, MVA, text fields, we found that it's a good idea to have the possibility to support dynamic variables …

sanikolaevsanikolaev · 2023-12-01 · 0 · #24

Add default delay a few ms between inputs

Sometimes, when you replay a CLT test, one input may run too soon after the previous one. It is recommended to add a default delay between inputs, such as 5ms.

sanikolaevsanikolaev · 2024-10-28 · 3 · #43

Reusable blocks in the interactive mode

From: https://gitlab.com/manticoresearch/clt/-/issues/10 We now have support for reusable blocks, but we should also incorporate this feature into interactive mode. The task involves: Contemplating possible implementation methods. As proposed, we could …

sanikolaevsanikolaev · 2023-12-01 · 0 · #25

Remove escape sequences from outputs

We should remove all bash sequences from generated output before we write it to the rep file to make it easier and more natural to compare outputs with different IDEs that may not render them or simply do not display them.

donhardmandonhardman · 2024-10-16 · 2 · #41

est::size_S

Tests stucks if no next command passed

I faced with this behavior in this test It is stuck if: kubectl get deployment my-helm-manticoresearch-balancer -o=jsonpath='{$.spec.template.spec.containers[:1].image}' And like this kubectl get deployment my-helm-manticoresearch-balancer -o=jsonpath …

djklim87djklim87 · 2024-06-05 · 2 · #38

echo $VAR is not working

There's a problem with the dynamic prompt in the output of the replay file. Any command that includes $VAR or anything with a $ isn't functioning correctly because it's being matched to the prompt. We need to inspect the code and determine how to resolve …

donhardmandonhardman · 2023-10-23 · 2 · #19

bug

Fix issue with cmp tool when comparing line with empy one

We have the rare case that while comparing outputs from record and replay it does not return error code

donhardmandonhardman · 2023-10-02 · 1 · #15

CLT job execution time limit

I faced with a job that stuck and ran for more than 4 hours. We need to add some execution time limits

djklim87djklim87 · 2023-12-15 · 1 · #22

Investigate and fix incorrect CLT test validation

…➜ clt git:(main) ✗ ./clt test -t ./tests/centos:8_20231111_165817.rec -d centos:8; echo $? Replaying data from the file: ./tests/centos:8_20231111_165817.rec The replay result will be stored to the file: ./tests/centos:8_20231111_165817.rep ––– input ––– …

donhardmandonhardman · 2023-11-16 · 5 · #21

bug

CLT strange symbols on record

When we create test by running record and saving it on refine instead of tabs we see strange symbols in output, we should trim it out ––– input ––– ps ax ––– output ––– PID TTY STAT TIME COMMAND ^[[0m^[[31m- 1 pts/0 Ssl+ 0:00 clt-rec -O ./tests/ …

donhardmandonhardman · 2023-10-21 · 2 · #18

bug

Visualize CLT test results in PRs

Currently if a CLT test fails it's not visible in the PR, e.g.: Let's improve the action, so we put test results right to the PR for better visibility and faster decision making.

sanikolaevsanikolaev · 2024-04-15 · 3 · #23

est::size_M

The way to accept rep inside tested rec

We need a way to run a command after tests are launched. This command should show the difference between expected and actual results and allow us to accept the changes and modify the input recording file automatically. Here's the situation: We update …

donhardmandonhardman · 2024-05-08 · 1 · #34

enhancement

Handle signals

Sometimes, when we execute a test that contains an error, we encounter a hanging process. In these instances, even the CTRL + C command doesn't work. To resolve this, we need to terminate the process, often requiring root privileges as it runs in Docker. …

donhardmandonhardman · 2023-10-02 · 1 · #11

enhancement