Skip to content

Commit 769f913

Browse files
authored
tests(e2e): skip tests using test api (#3692)
1 parent 4e753a1 commit 769f913

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

internal/core/bootstrap_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import (
1111
)
1212

1313
func TestInterruptError(t *testing.T) {
14+
t.Skip("Test API not available")
15+
1416
t.Run("unknown-command", Test(&TestConfig{
1517
Commands: NewCommands(
1618
&Command{

internal/e2e/errors_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import (
88
)
99

1010
func TestStandardErrors(t *testing.T) {
11+
t.Skip("Test API not available")
12+
1113
t.Run("unknown-command", core.Test(&core.TestConfig{
1214
Commands: test.GetCommands(),
1315
UseE2EClient: true,

internal/e2e/human_test.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import (
88
)
99

1010
func TestTestCommand(t *testing.T) {
11+
t.Skip("Test API not available")
12+
1113
t.Run("usage", core.Test(&core.TestConfig{
1214
Commands: test.GetCommands(),
1315
Cmd: "scw test -h",
@@ -21,6 +23,8 @@ func TestTestCommand(t *testing.T) {
2123
}
2224

2325
func TestHumanCreate(t *testing.T) {
26+
t.Skip("Test API not available")
27+
2428
t.Run("usage", core.Test(&core.TestConfig{
2529
Commands: test.GetCommands(),
2630
Cmd: "scw test human create -h",
@@ -65,6 +69,8 @@ func TestHumanCreate(t *testing.T) {
6569
}
6670

6771
func TestHumanList(t *testing.T) {
72+
t.Skip("Test API not available")
73+
6874
t.Run("usage", core.Test(&core.TestConfig{
6975
Commands: test.GetCommands(),
7076
Cmd: "scw test human list -h",
@@ -92,6 +98,8 @@ func TestHumanList(t *testing.T) {
9298
}
9399

94100
func TestHumanUpdate(t *testing.T) {
101+
t.Skip("Test API not available")
102+
95103
t.Run("usage", core.Test(&core.TestConfig{
96104
Commands: test.GetCommands(),
97105
Cmd: "scw test human update -h",
@@ -127,6 +135,8 @@ func TestHumanUpdate(t *testing.T) {
127135
}
128136

129137
func TestHumanGet(t *testing.T) {
138+
t.Skip("Test API not available")
139+
130140
t.Run("usage", core.Test(&core.TestConfig{
131141
Commands: test.GetCommands(),
132142
Cmd: "scw test human get -h",
@@ -172,6 +182,8 @@ func TestHumanGet(t *testing.T) {
172182
}
173183

174184
func TestHumanDelete(t *testing.T) {
185+
t.Skip("Test API not available")
186+
175187
t.Run("usage", core.Test(&core.TestConfig{
176188
Commands: test.GetCommands(),
177189
Cmd: "scw test human delete -h",

internal/e2e/sdk_errors_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ import (
1515
// - InvalidField: this error is deprecated
1616
// - PermissionsDenied: this error cannot be triggered using the SDK
1717
func TestSdkStandardErrors(t *testing.T) {
18+
t.Skip("Test API not available")
19+
1820
t.Run("invalid-arguments", core.Test(&core.TestConfig{
1921
Commands: test.GetCommands(),
2022
UseE2EClient: true,

0 commit comments

Comments
 (0)