Skip to content

Commit

Permalink
fix failing test in node info datasource
Browse files Browse the repository at this point in the history
Not sure how this test ever passed. Likely integration tests were not run when
the PR was accepted.
  • Loading branch information
dmacvicar committed Sep 16, 2024
1 parent 26b5656 commit bbf9056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvirt/data_source_libvirt_node_info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestAccLibvirtNodeInfoDataSource(t *testing.T) {
Config: testAccDataSourceNodeInfo,
Check: resource.ComposeTestCheckFunc(
resource.TestMatchResourceAttr(
"data.libvirt_node_info.info", "cpus", regexp.MustCompile(`^\d+`)),
"data.libvirt_node_info.info", "cpu_cores_total", regexp.MustCompile(`^\d+`)),
),
}, {
Config: testAccDataSourceNodeInfo,
Expand Down

0 comments on commit bbf9056

Please sign in to comment.