Home / Function/ TestNewExponentialBackoff_Config() — fiber Function Reference

TestNewExponentialBackoff_Config() — fiber Function Reference

Architecture documentation for the TestNewExponentialBackoff_Config() function in config_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  4a213c97_42fc_5bf7_e157_abaa3c88430f["TestNewExponentialBackoff_Config()"]
  241e9eb9_26b7_8964_2df9_755bc7c35a13["config_test.go"]
  4a213c97_42fc_5bf7_e157_abaa3c88430f -->|defined in| 241e9eb9_26b7_8964_2df9_755bc7c35a13
  style 4a213c97_42fc_5bf7_e157_abaa3c88430f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

addon/retry/config_test.go lines 62–69

func TestNewExponentialBackoff_Config(t *testing.T) {
	t.Parallel()

	backoff := NewExponentialBackoff(Config{InitialInterval: 4 * time.Second})

	require.Equal(t, 4*time.Second, backoff.InitialInterval)
	require.Equal(t, 4*time.Second, backoff.currentInterval)
}

Domain

Subdomains

Frequently Asked Questions

What does TestNewExponentialBackoff_Config() do?
TestNewExponentialBackoff_Config() is a function in the fiber codebase, defined in addon/retry/config_test.go.
Where is TestNewExponentialBackoff_Config() defined?
TestNewExponentialBackoff_Config() is defined in addon/retry/config_test.go at line 62.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free