Skip to content

Commit

Permalink
ci: Disable parallel testing
Browse files Browse the repository at this point in the history
  • Loading branch information
vaerh committed Dec 22, 2024
1 parent e904567 commit cee9880
Show file tree
Hide file tree
Showing 37 changed files with 45 additions and 45 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/module_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

# - name: Cache restore
# uses: actions/cache/restore@v4
# with:
# path: |
# ~/.cache/go-build
# ~/go/pkg/mod
# key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
# restore-keys: |
# ${{ runner.os }}-go-
- name: Cache restore
uses: actions/cache/restore@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Setup Go environment
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion routeros/datasource_system_routerboard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const testDatasourceSystemRouterboard = "data.routeros_system_routerboard.data"
func TestAccDatasourceSystemRouterboardTest_basic(t *testing.T) {
t.Log("The test is skipped, the resource is only available on real hardware.")
/*
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_interface_6to4_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testInterface6to4 = "routeros_interface_6to4.test"

func TestAccInterface6to4Test_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_interface_lte_apn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testInterfaceLteApn = "routeros_interface_lte_apn.test"

func TestAccInterfaceLteApnTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_interface_vxlan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testInterfaceVxlan = "routeros_interface_vxlan.test"

func TestAccInterfaceVxlanTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_interface_vxlan_vteps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testInterfaceVxlanVteps = "routeros_interface_vxlan_vteps.test"

func TestAccInterfaceVxlanVtepsTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_interface_wireless_access_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestAccInterfaceWirelessAccessListTest_basic(t *testing.T) {
return
}

t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestAccInterfaceWirelessSecurityProfilesTest_basic(t *testing.T) {
return
}

t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_hotspot_ip_binding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpHotspotIpBinding = "routeros_ip_hotspot_ip_binding.test"

func TestAccIpHotspotIpBindingTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_hotspot_profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpHotspotProfile = "routeros_ip_hotspot_profile.test"

func TestAccIpHotspotProfileTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_hotspot_service_port_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpHotspotServicePort = "routeros_ip_hotspot_service_port.test"

func TestAccIpHotspotServicePortTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_hotspot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpHotspot = "routeros_ip_hotspot.test"

func TestAccIpHotspotTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_hotspot_user_profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpHotspotUserProfile = "routeros_ip_hotspot_user_profile.test"

func TestAccIpHotspotUserProfileTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_hotspot_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpHotspotUser = "routeros_ip_hotspot_user.test"

func TestAccIpHotspotUserTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_hotspot_walled_garden_ip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpHotspotWalledGardenIp = "routeros_ip_hotspot_walled_garden_ip.test"

func TestAccIpHotspotWalledGardenIpTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_hotspot_walled_garden_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpHotspotWalledGarden = "routeros_ip_hotspot_walled_garden.test"

func TestAccIpHotspotWalledGardenTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_ipsec_identity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
const testIpIpsecIdentity = "routeros_ip_ipsec_identity.identity"

func TestAccIpIpsecIdentityTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_ipsec_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpIpsecKey = "routeros_ip_ipsec_key.test"

func TestAccIpIpsecKeyTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_ipsec_mode_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpIpsecModeConfig = "routeros_ip_ipsec_mode_config.test"

func TestAccIpIpsecModeConfigTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_ipsec_peer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpIpsecPeer = "routeros_ip_ipsec_peer.test"

func TestAccIpIpsecPeerTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_ipsec_policy_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
const testIpIpsecPolicyGroup = "routeros_ip_ipsec_policy_group.test"

func TestAccIpIpsecPolicyGroupTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_ipsec_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
const testIpIpsecPolicy = "routeros_ip_ipsec_policy.policy"

func TestAccIpIpsecPolicyTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_ipsec_profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
const testIpIpsecProfile = "routeros_ip_ipsec_profile.test"

func TestAccIpIpsecProfileTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_ipsec_proposal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpIpsecProposal = "routeros_ip_ipsec_proposal.test"

func TestAccIpIpsecProposalTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ip_ipsec_settings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpIpsecSettings = "routeros_ip_ipsec_settings.test"

func TestAccIpIpsecSettingsTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ipv6_dhcp_server_option_sets_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpv6DhcpServerOptionSets = "routeros_ipv6_dhcp_server_option_sets.test"

func TestAccIpv6DhcpServerOptionSetsTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ipv6_dhcp_server_option_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpv6DhcpServerOption = "routeros_ipv6_dhcp_server_option.test"

func TestAccIpv6DhcpServerOptionTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ipv6_dhcp_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpv6DhcpServer = "routeros_ipv6_dhcp_server.test"

func TestAccIpv6DhcpServerTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_ipv6_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testIpv6Pool = "routeros_ipv6_pool.test"

func TestAccIpv6PoolTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_routing_rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testRoutingRule = "routeros_routing_rule.test"

func TestAccRoutingRuleTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_system_user_aaa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testUserAAA = "routeros_system_user_aaa.settings"

func TestAccUserAAATest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_system_user_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
const testUserGroupAddress = "routeros_system_user_group.test"

func TestAccUserGroupTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_system_user_settings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testUserSettings = "routeros_system_user_settings.test"

func TestAccUserSettingsTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_system_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
const testUserAddress = "routeros_system_user.test"

func TestAccUserTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_tool_netwatch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testToolNetwatch = "routeros_tool_netwatch.test"

func TestAccToolNetwatchTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_tool_sniffer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const testToolSniffer = "routeros_tool_sniffer.test"

func TestAccToolSnifferTest_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down
2 changes: 1 addition & 1 deletion routeros/resource_wireguard_keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
const testResourceWireGuardKeys = "routeros_wireguard_keys.keys"

func TestAccResourceWireGuardKeys_basic(t *testing.T) {
t.Parallel()
// t.Parallel()
t.Run("WG keys", func(t *testing.T) {
resource.Test(t, resource.TestCase{
ProviderFactories: testAccProviderFactories,
Expand Down

0 comments on commit cee9880

Please sign in to comment.