 9bdcbe0447
			
		
	
	9bdcbe0447
	
	
	
		
			
			Major integrations and fixes: - Added BACKBEAT SDK integration for P2P operation timing - Implemented beat-aware status tracking for distributed operations - Added Docker secrets support for secure license management - Resolved KACHING license validation via HTTPS/TLS - Updated docker-compose configuration for clean stack deployment - Disabled rollback policies to prevent deployment failures - Added license credential storage (CHORUS-DEV-MULTI-001) Technical improvements: - BACKBEAT P2P operation tracking with phase management - Enhanced configuration system with file-based secrets - Improved error handling for license validation - Clean separation of KACHING and CHORUS deployment stacks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
		
			
				
	
	
		
			47 lines
		
	
	
		
			941 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			941 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package suite
 | |
| 
 | |
| import "time"
 | |
| 
 | |
| // SuiteInformation stats stores stats for the whole suite execution.
 | |
| type SuiteInformation struct {
 | |
| 	Start, End time.Time
 | |
| 	TestStats  map[string]*TestInformation
 | |
| }
 | |
| 
 | |
| // TestInformation stores information about the execution of each test.
 | |
| type TestInformation struct {
 | |
| 	TestName   string
 | |
| 	Start, End time.Time
 | |
| 	Passed     bool
 | |
| }
 | |
| 
 | |
| func newSuiteInformation() *SuiteInformation {
 | |
| 	testStats := make(map[string]*TestInformation)
 | |
| 
 | |
| 	return &SuiteInformation{
 | |
| 		TestStats: testStats,
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (s SuiteInformation) start(testName string) {
 | |
| 	s.TestStats[testName] = &TestInformation{
 | |
| 		TestName: testName,
 | |
| 		Start:    time.Now(),
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (s SuiteInformation) end(testName string, passed bool) {
 | |
| 	s.TestStats[testName].End = time.Now()
 | |
| 	s.TestStats[testName].Passed = passed
 | |
| }
 | |
| 
 | |
| func (s SuiteInformation) Passed() bool {
 | |
| 	for _, stats := range s.TestStats {
 | |
| 		if !stats.Passed {
 | |
| 			return false
 | |
| 		}
 | |
| 	}
 | |
| 
 | |
| 	return true
 | |
| }
 |