Skip to content

Commit

Permalink
test: Fix failing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Mahendra Paipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Feb 29, 2024
1 parent c573e42 commit 0e8ed3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_systemd_properties(host):
p = s.systemd_properties
assert p.get("ProtectHome") == "yes"
assert p.get("Environment") == "EMAPS_API_TOKEN=foo"
assert p.get("AmbientCapabilities") in [None, ""]
assert p.get("AmbientCapabilities") in [None, "", "0", "False", False, "No", "no"]


@pytest.mark.parametrize("socket", [
Expand Down
2 changes: 1 addition & 1 deletion roles/nvidia_dcgm_exporter/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ go_arch: "{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }

_nvidia_dcgm_exporter_repo: NVIDIA/dcgm-exporter
_github_api_headers: "{{ {'GITHUB_TOKEN': lookup('ansible.builtin.env', 'GITHUB_TOKEN')} if (lookup('ansible.builtin.env', 'GITHUB_TOKEN')) else {} }}"
_golang_download_url: https://go.dev/dl/go{{ golang_version }}.linux-{{ go_arch }}.tar.gz
_golang_version: 1.21.5
_golang_download_url: https://go.dev/dl/go{{ _golang_version }}.linux-{{ go_arch }}.tar.gz

0 comments on commit 0e8ed3f

Please sign in to comment.