Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
Signed-off-by: Dom Del Nano <[email protected]>
  • Loading branch information
ddelnano committed Mar 14, 2024
1 parent 1d98239 commit 7dbb011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pipeline {
}
steps {
lock('xoa-test-runner') {
sh 'echo ${BYPASS_XOA_TOKEN}'
sh 'cp /opt/terraform-provider-xenorchestra/testdata/images/alpine-virt-3.17.0-x86_64.iso xoa/testdata/alpine-virt-3.17.0-x86_64.iso'
sh 'TF_VERSION=${TF_VERSION} TIMEOUT=60m make ci'
}
Expand Down
2 changes: 1 addition & 1 deletion xoa/acc_setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var disklessTestTemplate client.Template
var testIso client.VDI

func TestMain(m *testing.M) {
fmt.Printf("Found token of len=%d\n", len(accTestXoToken))
panic(fmt.Sprintf("Found token of len=%d\n", len(accTestXoToken)))
// This leverages the existing flag defined in the terraform-plugin-sdk
// repo defined below
// https://github.com/hashicorp/terraform-plugin-sdk/blob/2c03a32a9d1be63a12eb18aaf12d2c5270c42346/helper/resource/testing.go#L58
Expand Down

0 comments on commit 7dbb011

Please sign in to comment.