diff --git a/tests/integration/api_packages_terraform_test.go b/tests/integration/api_packages_terraform_test.go index 7e17f3db9e6..424b4034617 100644 --- a/tests/integration/api_packages_terraform_test.go +++ b/tests/integration/api_packages_terraform_test.go @@ -97,7 +97,7 @@ func TestPackageTerraform(t *testing.T) { // Validate the response assert.Equal(t, lineage, jsonResponse["lineage"]) assert.Equal(t, terraformVersion, jsonResponse["terraform_version"]) - assert.Equal(t, serial, jsonResponse["serial"]) + assert.InEpsilon(t, serial, jsonResponse["serial"].(float64), 0.0001) resource := jsonResponse["resources"].([]any)[0].(map[string]any) assert.Equal(t, resourceName, resource["name"]) assert.Equal(t, resourceType, resource["type"])