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
Hi @s1mrankaur thanks for reaching out. S3 interface needs to be initialized inside the function in this case because the test function needs to use the instance created.
Confirm by changing [ ] to [x] below:
We currently have
I tried to change it to
but on running the unit test, ran into the following error
> failed to get the current sub/segment from the context new s3
The unit test itself is pretty simple:
How can the s3 interface be initialized once? and why do we see this error once when s3 initialization is taken out of the function?
The text was updated successfully, but these errors were encountered: