diff --git a/config_center/apollo/impl_test.go b/config_center/apollo/impl_test.go index e898be91ee356180f5967f9dd5a02df0dbcfb311..6593a93e6f4ffeee1d0c841109c67c2de55ba1c5 100644 --- a/config_center/apollo/impl_test.go +++ b/config_center/apollo/impl_test.go @@ -21,6 +21,7 @@ import ( "fmt" "net/http" "net/http/httptest" + "os" "strings" "sync" "testing" @@ -260,3 +261,8 @@ func (l *apolloDataListener) Process(configType *config_center.ConfigChangeEvent l.count++ l.event = configType.Key } + +func TestDeleteMockJson(t *testing.T) { + remove := os.Remove("mockDubbog.properties.json") + t.Log("remove result:", remove) +}