Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring test #937

Open
Valantin opened this issue Mar 18, 2024 · 1 comment
Open

Refactoring test #937

Valantin opened this issue Mar 18, 2024 · 1 comment

Comments

@Valantin
Copy link
Member

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 7, 8
  • Ruby: 2.7, 3.x
  • Distribution: Archlinux and all other
  • Module version: 10.0.0

How to reproduce (e.g Puppet code you use)

Run acceptance on one of the operating system

What are you seeing

All Oses run a test with default version and N for the supported version
In most case it run twice with the some version, in other case like Archlinux run only with operating system repo version of package that not in the supported list.

What behaviour did you expect instead

Run acceptance test only one per version
Run acceptance only on supported version

Output log

https://archlinux.org/packages/extra/x86_64/zabbix-agent/
zabbix-agent 6.4.12-2

Any additional information you'd like to impart

Need a plan to use in the best way acceptance test, Probabli custom matrix not solve the problem, but run test on Archlinux with parameter zabbix_version 5 and 6 with the installed package as 6.4 isn't the best we can do

@Valantin
Copy link
Member Author

Valantin commented Apr 2, 2024

Continuing to check the test code I've see that it use a list of OS defined in spec instead using the metadata info

ok, it seems that the tests do not cover all operating systems, think this is the reason for the restricted OS list.

but probably miss a lot of stuff to realy support all OS

@Valantin Valantin changed the title Refactoring acceptance test Refactoring test Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant