Skip to content

Commit dcbea7b

Browse files
committed
fix body length error for datascience test
1 parent 5533fc6 commit dcbea7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

oci/datascience_model_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var (
4343
}
4444

4545
modelRepresentation = map[string]interface{}{
46-
"artifact_content_length": Representation{repType: Required, create: `14603`},
46+
"artifact_content_length": Representation{repType: Required, create: `14633`},
4747
"model_artifact": Representation{repType: Required, create: `datascience_model_resource.go`},
4848
"compartment_id": Representation{repType: Required, create: `${var.compartment_id}`},
4949
"project_id": Representation{repType: Required, create: `${oci_datascience_project.test_project.id}`},
@@ -91,7 +91,7 @@ func TestDatascienceModelResource_basic(t *testing.T) {
9191
Check: resource.ComposeAggregateTestCheckFunc(
9292
resource.TestCheckResourceAttr(resourceName, "compartment_id", compartmentId),
9393
resource.TestCheckResourceAttrSet(resourceName, "project_id"),
94-
resource.TestCheckResourceAttr(resourceName, "artifact_content_length", "14603"),
94+
resource.TestCheckResourceAttr(resourceName, "artifact_content_length", "14633"),
9595
resource.TestCheckResourceAttrSet(resourceName, "artifact_content_md5"),
9696
resource.TestCheckResourceAttrSet(resourceName, "artifact_last_modified"),
9797

@@ -111,7 +111,7 @@ func TestDatascienceModelResource_basic(t *testing.T) {
111111
Config: config + compartmentIdVariableStr + ModelResourceDependencies +
112112
generateResourceFromRepresentationMap("oci_datascience_model", "test_model", Optional, Create, modelRepresentation),
113113
Check: resource.ComposeAggregateTestCheckFunc(
114-
resource.TestCheckResourceAttr(resourceName, "artifact_content_length", "14603"),
114+
resource.TestCheckResourceAttr(resourceName, "artifact_content_length", "14633"),
115115
resource.TestCheckResourceAttrSet(resourceName, "artifact_content_md5"),
116116
resource.TestCheckResourceAttrSet(resourceName, "artifact_last_modified"),
117117
resource.TestCheckResourceAttr(resourceName, "compartment_id", compartmentId),
@@ -145,7 +145,7 @@ func TestDatascienceModelResource_basic(t *testing.T) {
145145
"compartment_id": Representation{repType: Required, create: `${var.compartment_id_for_update}`},
146146
})),
147147
Check: resource.ComposeAggregateTestCheckFunc(
148-
resource.TestCheckResourceAttr(resourceName, "artifact_content_length", "14603"),
148+
resource.TestCheckResourceAttr(resourceName, "artifact_content_length", "14633"),
149149
resource.TestCheckResourceAttrSet(resourceName, "artifact_content_md5"),
150150
resource.TestCheckResourceAttrSet(resourceName, "artifact_last_modified"),
151151
resource.TestCheckResourceAttr(resourceName, "compartment_id", compartmentIdU),

0 commit comments

Comments
 (0)