Commit Graph

23 Commits (master)

Author SHA1 Message Date
x7upLime 8931619b01 Applied suggestions 2023-04-25 15:11:41 +03:00
x7upLime 3d3e6a14e7 added stuff to reflect suggestions 2023-04-22 00:49:30 +03:00
x7upLime 3b3d2905a1 Changes variable name in integrataion test 2023-04-22 00:49:30 +03:00
x7upLime ee22b47795 Apply suggestions from code review 2023-04-22 00:49:30 +03:00
x7upLime b5d5bbe38c Removes external lib dependency
Since the test is failing on architectures/platform I can't reproduce
on.. I'm readapting the test in such a way to minimize the amount of
code that can be responsible for the error.

We're not looking for all system processes in order to find our
mount processes(ps -ef); we're looking directly at the mount
processes that have been spawned by our test instead.

To say that a process is no longer alive:
We try to wait for conclusion to get the processState.
If the wait results in an *ExitError, it means that either
the proc has failed to run, or it exited failing(see doc);
in both cases we're happy.. since we previously made a check
to know that those same processes were alive.
2023-04-22 00:48:58 +03:00
x7upLime 70a0ed2aac Modifies integration test label
yeah.. perhaps that's a better name
2023-04-22 00:47:06 +03:00
x7upLime 849de9086b Adds documentation for validateMountCmd test
working towards #11571 :)
2023-04-22 00:47:06 +03:00
x7upLime 07f3f440ff Fixes lint error
The message from the linter makes a good point..
we're storing a reference for the mount processes, but we're not
using them.. Thus the committed lines.
2023-04-22 00:47:06 +03:00
x7upLime 47981b75d9 Add integration test for mount-clean mechanism
I copied as much code as I could from the previous tests
that seemed more alike to the one I was trying to build.

I put it inside the functional mount tests,
with the other mount-command related tests,
as I thought (as per comments on "TestFunctional()") it
could safely share a profile in parallel..
2023-04-22 00:47:06 +03:00
Akihiro Suda 6ab61b7a75
CI: add functional_docker_rootless_containerd_ubuntu
Fix issue 12456

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-01-12 08:13:58 +09:00
Steven Powell 2e4ea3c259 replace MkdirTemp with t.TempDir in tests 2022-04-01 19:18:20 -07:00
Steven Powell 1aa1f04e9b remove old build tags 2022-03-30 16:43:29 -07:00
Steven Powell 2d20e0ac80 add test skips back 2021-11-23 08:52:58 -08:00
Steven Powell 8c4f907b7b try fixing bad mount error 2021-11-22 17:13:37 -08:00
Steven Powell 6e68f73606 skip mount/any-port until mouting issue resolved 2021-11-17 12:07:06 -08:00
KallyDev 70022d9b2e
Move from deprecated ioutil to os and io packages 2021-10-08 08:57:19 +08:00
Steven Powell 145f9fc9ab run `go fmt` 2021-09-13 11:58:43 -07:00
Medya Gh ccf4af0997 change depricated golint to revive and fix lint issues 2021-08-12 18:11:16 -07:00
Andriy Dzikh 5ca1164fb9 Create test for mounting with port. 2021-07-14 17:52:21 -07:00
Ilya Zuyev fe392b4233 When getting a gateway IP for podman container inspect per-network data as well 2021-05-05 15:09:46 -07:00
Ilya Zuyev 30f8a38fff add functional_podman_ubuntu test
Fix test error messages

Fix test comment and docs
2021-05-05 13:49:51 -07:00
Medya Gh 1207de734b bump golang lint ci to latest 2021-04-19 15:16:31 -07:00
Sharif Elgamal 0ed5b13995 add docs for all integration tests and generate docs with them 2021-04-16 13:42:41 -07:00