You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/common/modules/private_api_recorder.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,8 @@ define(['test/support/output_directory_paths'], function (outputDirectoryPaths)
80
80
'read.Defaults.version',
81
81
'read.LiveMap._dataRef.data',
82
82
'read.EventEmitter.events',
83
+
'read.Objects._DEFAULTS.gcGracePeriod',
84
+
'read.Objects.gcGracePeriod',
83
85
'read.Platform.Config.push',
84
86
'read.ProtocolMessage.channelSerial',
85
87
'read.Realtime._transports',
@@ -141,8 +143,8 @@ define(['test/support/output_directory_paths'], function (outputDirectoryPaths)
141
143
'write.Defaults.ENDPOINT',
142
144
'write.Defaults.ENVIRONMENT',
143
145
'write.Defaults.wsConnectivityCheckUrl',
144
-
'write.Objects._DEFAULTS.gcGracePeriod',
145
146
'write.Objects._DEFAULTS.gcInterval',
147
+
'write.Objects.gcGracePeriod',
146
148
'write.Platform.Config.push',// This implies using a mock implementation of the internal IPlatformPushConfig interface. Our mock (in push_channel_transport.js) then interacts with internal objects and private APIs of public objects to implement this interface; I haven’t added annotations for that private API usage, since there wasn’t an easy way to pass test context information into the mock. I think that for now we can just say that if we wanted to get rid of this private API usage, then we’d need to remove this mock entirely.
'Check gcGracePeriod is set to a default value if connectionDetails.objectsGCGracePeriod is missing',
4616
+
);
4617
+
},client);
4618
+
});
4619
+
4528
4620
consttombstonesGCScenarios=[
4529
4621
// for the next tests we need to access the private API of Objects plugin in order to verify that tombstoned entities were indeed deleted after the GC grace period.
4530
4622
// public API hides that kind of information from the user and returns undefined for tombstoned entities even if realtime client still keeps a reference to them.
@@ -4631,8 +4723,6 @@ define(['ably', 'shared_helper', 'chai', 'objects', 'objects_helper'], function
0 commit comments