Skip to content

Commit

Permalink
test: require builder acceptance tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Nov 1, 2023
1 parent db802b1 commit f761d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/hcloud/builder_acc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

func TestBuilderAcc_basic(t *testing.T) {
if v := os.Getenv("HCLOUD_TOKEN"); v == "" {
t.Skip("HCLOUD_TOKEN must be set for acceptance tests")
t.Error("HCLOUD_TOKEN must be set for acceptance tests")
}

testCase := &acctest.PluginTestCase{
Expand All @@ -35,7 +35,7 @@ func TestBuilderAcc_basic(t *testing.T) {
const testBuilderAccBasic = `
{
"builders": [{
"type": "test",
"type": "hcloud",
"location": "nbg1",
"server_type": "cx11",
"image": "ubuntu-22.04",
Expand Down

0 comments on commit f761d94

Please sign in to comment.