Skip to content

Commit

Permalink
fix(pkg/generate): fixed test.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed Aug 30, 2023
1 parent c01b391 commit b0c72ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/generate/generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,15 +181,17 @@ func TestAutogenerate(t *testing.T) {
},
expectError: true,
},
// NOTE: the below test is flaky: if debian pulls down the headers, we will break.
// in case, just update to a newer version.
"run with target values on single driver version": {
opts: Options{
Options: root.Options{
RepoRoot: "./test/",
Architecture: "x86_64",
DriverVersion: []string{"1.0.0+driver"},
Target: root.Target{
Distro: "CentOS",
KernelRelease: "5.10.0",
Distro: "Debian",
KernelRelease: "6.1.38-2-amd64",
KernelVersion: "1",
},
},
Expand Down

0 comments on commit b0c72ed

Please sign in to comment.