Skip to content

Commit ddf5d88

Browse files
committed
Note the new space name
1 parent cf4bdab commit ddf5d88

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/octopus_container_test_framework.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -699,9 +699,9 @@ func (o *OctopusContainerTest) Act(t *testing.T, container *OctopusContainer, te
699699

700700
// ActWithCustomSpace initialises Octopus and MSSQL with a custom directory holding the module to create the initial space
701701
func (o *OctopusContainerTest) ActWithCustomSpace(t *testing.T, container *OctopusContainer, initialiseModuleDir string, terraformModuleDir string, initialiseVars []string, populateVars []string) (string, error) {
702-
t.Log("POPULATING TEST SPACE")
703-
704702
spaceName := strings.ReplaceAll(fmt.Sprint(uuid.New()), "-", "")[:20]
703+
t.Log("POPULATING TEST SPACE " + spaceName)
704+
705705
err := o.InitialiseOctopus(t, container, initialiseModuleDir, "", terraformModuleDir, spaceName, initialiseVars, []string{}, populateVars)
706706

707707
if err != nil {
@@ -726,9 +726,9 @@ func (o *OctopusContainerTest) ActWithCustomSpace(t *testing.T, container *Octop
726726

727727
// ActWithCustomPrePopulatedSpace initialises Octopus and MSSQL with a custom directory holding the module to create the initial space and a module used to prepopulate the space
728728
func (o *OctopusContainerTest) ActWithCustomPrePopulatedSpace(t *testing.T, container *OctopusContainer, initialiseModuleDir string, prepopulateModuleDir string, terraformModuleDir string, initialiseVars []string, prePopulateVars []string, populateVars []string) (string, error) {
729-
t.Log("POPULATING TEST SPACE")
730-
731729
spaceName := strings.ReplaceAll(fmt.Sprint(uuid.New()), "-", "")[:20]
730+
t.Log("POPULATING TEST SPACE " + spaceName)
731+
732732
err := o.InitialiseOctopus(t, container, initialiseModuleDir, prepopulateModuleDir, terraformModuleDir, spaceName, initialiseVars, prePopulateVars, populateVars)
733733

734734
if err != nil {

0 commit comments

Comments
 (0)