Skip to content

Conversation

@q-martindurchov
Copy link
Contributor

No description provided.

…ings, for example when initial_recovery = null after copying or recovering an index
@Philippus
Copy link
Owner

Is it possible to add a test case?

@q-martindurchov
Copy link
Contributor Author

I can add a test, sure, but I need to create an index and then clone it and can you correct me if I am wrong but I don't see any methods for using the Clone API? Either way it can be testable, just might take a minute to create the supporting functions as well.

@q-martindurchov
Copy link
Contributor Author

Unless you are happy with unit tests, which is also an option, just testing the flatten function

@Philippus
Copy link
Owner

I think a unit test would be fine. Indeed, we don't have the Clone API yet.

@q-martindurchov
Copy link
Contributor Author

Added a test, let me know if there is anything else. I will also implement the CloneAPI hopefully soon. Will update on that when it is ready

@Philippus
Copy link
Owner

Can you format the code? scalafmtAll in sbt.

@Philippus Philippus merged commit 9c7e011 into Philippus:main Feb 14, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants