<commit_before>Feature: cascading replication
	We should check that patroni can do base backup and streaming from the replica

Scenario: check a base backup from the replica
	Given I start postgres0
	And I start postgres1
	And replication works from postgres0 to postgres1 after 15 seconds
	And I create label with "postgres0" in postgres0 data directory
	And I create label with "postgres1" in postgres1 data directory
	And I configure and start postgres2 with a tag clonefrom postgres1
	Then replication works from postgres0 to postgres2 after 30 seconds
	And there is a label with "postgres0" in postgres2 data directory<commit_msg>Restore the test for the clone from the replica.<commit_after>Feature: cascading replication
	We should check that patroni can do base backup and streaming from the replica

Scenario: check a base backup from the replica
	Given I start postgres0
	And I start postgres1
	And replication works from postgres0 to postgres1 after 15 seconds
	And I create label with "postgres0" in postgres0 data directory
	And I create label with "postgres1" in postgres1 data directory
	And I configure and start postgres2 with a tag clonefrom postgres1
	Then replication works from postgres0 to postgres2 after 30 seconds
	And there is a label with "postgres1" in postgres2 data directory
{'fraction_non_alphanumeric': 0.017624521072796936, 'fraction_numerical': 0.027586206896551724, 'mean_word_length': 4.990825688073395, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3417497', 'n_tokens_mistral': 359, 'n_tokens_neox': 335, 'n_words': 197}